Date: Sat, 26 Sep 2015 07:50:14 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Ryan Steinmetz <zi@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r397981 - head/net-mgmt/net-snmp Message-ID: <5606B0A6.8040402@FreeBSD.org> In-Reply-To: <201509261421.t8QELert003508@repo.freebsd.org> References: <201509261421.t8QELert003508@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --S23bwnmia3tVCgwnGhN8JJ7M3ceegNhA8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/26/2015 7:21 AM, Ryan Steinmetz wrote: > Author: zi > Date: Sat Sep 26 14:21:39 2015 > New Revision: 397981 > URL: https://svnweb.freebsd.org/changeset/ports/397981 >=20 > Log: > - Honor WITHOUT_SSP > =20 > PR: 203369 > Submitted by: Kenneth Salerno <kennethsalerno@yahoo.com> >=20 > Modified: > head/net-mgmt/net-snmp/Makefile >=20 > Modified: head/net-mgmt/net-snmp/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/net-mgmt/net-snmp/Makefile Sat Sep 26 14:13:44 2015 (r397980) > +++ head/net-mgmt/net-snmp/Makefile Sat Sep 26 14:21:39 2015 (r397981) > @@ -52,10 +52,13 @@ CONFIGURE_ARGS+=3D--enable-shared --enable > --with-logfile=3D"${NET_SNMP_LOGFILE}" \ > --with-persistent-directory=3D"${NET_SNMP_PERSISTENTDIR}" \ > --with-gnu-ld --with-libwrap \ > - --with-libs=3D"-lssp_nonshared" \ > --with-ldflags=3D"-lm -lkvm -ldevstat -L${PKG_PREFIX}/lib -L${LOCALB= ASE}/lib ${LCRYPTO}" > SUB_FILES=3D pkg-message > =20 > +.if !defined(WITHOUT_SSP) > +CONFIGURE_ARGS+=3D--with-libs=3D"-lssp_nonshared" > +.endif > + > .if defined(BATCH) > CONFIGURE_ARGS+=3D--with-defaults > .endif >=20 bsd.ssp.mk should be in charge of this. I think to fix your problem you should just do: CONFIGURE_ARGS+=3D --with-libs=3D"${LDFLAGS:M-l*}" Note that there are no SSP checks here. It simple converts any -l in LDFLAGS to the --with-libs format. I haven't tested this yet but wanted to get it out there still. Having no -l in LDFLAGS will pass --with-libs=3D with no params. If it builds fine like that then= it is fine. Otherwise it will be more tricky due to the ordering of including files from Mk/. --=20 Regards, Bryan Drewery --S23bwnmia3tVCgwnGhN8JJ7M3ceegNhA8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWBrCmAAoJEDXXcbtuRpfPH2wIAMZ2kNlDKkABC8PMmLSvN2Oa HaeFCqCnPX7KFsisniVHOJjjCccQ2tpQRyo4XvyBvIJps+VtYWfozyXeby5u6ZXv 76v2Adb+2W5RYjtPsSmJwN24PZocezXe7aLvGxYFSiSM5I82Q7Jx5iZyrmAPhSXy wsNeJ0xj23Xj9z59y9VmBMOb8TZnXMOw05v5UcIuOwsAkEvMJSrGZRJUUgEpFM5D ctmxcdV7vJPtL744+0XBVkmsLcULHzqrvxzYwvI0KSW5AHdURqFlpa8tfZcvvBFv uTxrUgJSq970850WpFKS4E1o9LWjDo35achFH5ySoyKxJTuDvVKMvJkoM5flha8= =+Wer -----END PGP SIGNATURE----- --S23bwnmia3tVCgwnGhN8JJ7M3ceegNhA8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5606B0A6.8040402>