Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2016 19:11:50 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r419191 - branches/2016Q3/net/netatalk3
Message-ID:  <201607271911.u6RJBoBw059830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed Jul 27 19:11:50 2016
New Revision: 419191
URL: https://svnweb.freebsd.org/changeset/ports/419191

Log:
  MFH: r419119
  
  Remove -L from CFLAGS (and add it to LDFLAGS) to fix a build issue on 10.1.
  
  PR:		211366
  
  Approved by:	ports-secteam (with hat)

Modified:
  branches/2016Q3/net/netatalk3/Makefile
Directory Properties:
  branches/2016Q3/   (props changed)

Modified: branches/2016Q3/net/netatalk3/Makefile
==============================================================================
--- branches/2016Q3/net/netatalk3/Makefile	Wed Jul 27 17:24:39 2016	(r419190)
+++ branches/2016Q3/net/netatalk3/Makefile	Wed Jul 27 19:11:50 2016	(r419191)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607271911.u6RJBoBw059830>