diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2011-02-13 15:45:13 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2011-02-13 15:45:13 +0000 |
commit | 5cca1772e31abba01d7f62dfb0064f54b3a43530 (patch) | |
tree | 43da88a7789198676409e3079c7e67a3a8a1b914 /net-mgmt/py-yapsnmp | |
parent | 1dfe04ceb152ebbbabb1ab78c96465891d208496 (diff) | |
download | ports-5cca1772e31abba01d7f62dfb0064f54b3a43530.tar.gz ports-5cca1772e31abba01d7f62dfb0064f54b3a43530.zip |
Notes
Diffstat (limited to 'net-mgmt/py-yapsnmp')
-rw-r--r-- | net-mgmt/py-yapsnmp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/py-yapsnmp/Makefile b/net-mgmt/py-yapsnmp/Makefile index f3dcec020283..00d9b6c661a6 100644 --- a/net-mgmt/py-yapsnmp/Makefile +++ b/net-mgmt/py-yapsnmp/Makefile @@ -27,8 +27,14 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${PYTHON_INCLUDED LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" CONFIGURE_ARGS+=--enable-site-packages-prefix=${PREFIX} +.include <bsd.port.pre.mk> + +.if (${OSVERSION} >= 800000) && (${ARCH} == "i386") +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -fstack-protector -I${LOCALBASE}/include" +.endif + post-patch: ${REINPLACE_CMD} -e "s,-lsnmp,-lnetsnmp," \ ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |