diff options
author | Steven Kreuzer <skreuzer@FreeBSD.org> | 2010-12-22 14:53:22 +0000 |
---|---|---|
committer | Steven Kreuzer <skreuzer@FreeBSD.org> | 2010-12-22 14:53:22 +0000 |
commit | 867f5573f814cf3fafa6be5e8bd5d88782b1140d (patch) | |
tree | beeb636ded37689e07d947dfea05079527bf3ac5 /net-mgmt | |
parent | 36f5a5f0f3db29d3051f9ed1dfe43dd11440eb3e (diff) | |
download | ports-867f5573f814cf3fafa6be5e8bd5d88782b1140d.tar.gz ports-867f5573f814cf3fafa6be5e8bd5d88782b1140d.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/cacti-spine/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile index ec3789dc4413..97bedd3dbd22 100644 --- a/net-mgmt/cacti-spine/Makefile +++ b/net-mgmt/cacti-spine/Makefile @@ -30,6 +30,12 @@ USE_MYSQL= YES USE_OPENSSL= YES USE_AUTOTOOLS= libtool +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 800040 +LDFLAGS+= -fstack-protector +.endif + post-patch: @${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h @@ -43,4 +49,4 @@ do-install: @[ -e ${PREFIX}/etc/spine.conf ] || \ ${INSTALL_DATA} ${EXAMPLESDIR}/spine.conf ${PREFIX}/etc/spine.conf -.include <bsd.port.mk> +.include <bsd.port.post.mk> |