mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 10:00:37 -04:00
The provided LDFLAG of -L${LOCALBASE}/lib/event2 would have stopped working after libevent2.so moved to ${LOCALBASE}/lib had the LDFLAG affected anything. The LDFLAG is set by Makefile.inc, and the handling of DragonFly is wrong for ports, although it might still be correct for pkgsrc. Fix that with a patch and remove the LDFLAG that doesn't do anything. No revbump required.
16 lines
359 B
PHP
16 lines
359 B
PHP
--- Makefile.inc.orig 2014-09-15 17:40:01 UTC
|
|
+++ Makefile.inc
|
|
@@ -16,13 +16,8 @@ OSVERSION!= sysctl -n kern.osreldate
|
|
YFLAGS+= -i
|
|
CLEANFILES+= parse.i
|
|
.endif
|
|
-.if ${OPSYS} == "DragonFly"
|
|
-LDFLAGS+= -L${PREFIX}/lib/event2
|
|
-LDADD+= -levent-2.0
|
|
-.else
|
|
LDFLAGS+= -L${PREFIX}/lib
|
|
LDADD+= -levent
|
|
-.endif
|
|
|
|
.elif ${OPSYS} == "NetBSD"
|
|
PREFIX?= /usr/pkg
|