svn commit: r419119 - head/net/netatalk3
Joe Marcus Clarke
marcus at FreeBSD.org
Tue Jul 26 15:42:46 UTC 2016
Author: marcus
Date: Tue Jul 26 15:42:45 2016
New Revision: 419119
URL: https://svnweb.freebsd.org/changeset/ports/419119
Log:
Remove -L from CFLAGS (and add it to LDFLAGS) to fix a build issue on 10.1.
PR: 211366
Modified:
head/net/netatalk3/Makefile
Modified: head/net/netatalk3/Makefile
==============================================================================
--- head/net/netatalk3/Makefile Tue Jul 26 15:38:10 2016 (r419118)
+++ head/net/netatalk3/Makefile Tue Jul 26 15:42:45 2016 (r419119)
@@ -84,21 +84,24 @@ SUB_LIST+= ZEROCONF=""
.if ${PORT_OPTIONS:MAVAHI}
CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
LIB_DEPENDS+= libavahi-client.so:net/avahi-app
SUB_LIST+= ZEROCONF="avahi_daemon"
.endif
.if ${PORT_OPTIONS:MMDNSRESPONDER}
CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
LIB_DEPENDS+= libdns_sd.so:net/mDNSResponder
SUB_LIST+= ZEROCONF="mdnsd"
.endif
.if ${PORT_OPTIONS:MLDAP}
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
USE_OPENLDAP= yes
.else
CONFIGURE_ARGS+= --without-ldap
More information about the svn-ports-all
mailing list