diff options
Diffstat (limited to 'net-mgmt/nagios-snmp-plugins/Makefile')
-rw-r--r-- | net-mgmt/nagios-snmp-plugins/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/nagios-snmp-plugins/Makefile b/net-mgmt/nagios-snmp-plugins/Makefile index 2c0e3e35b982..17d868798289 100644 --- a/net-mgmt/nagios-snmp-plugins/Makefile +++ b/net-mgmt/nagios-snmp-plugins/Makefile @@ -36,6 +36,12 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE} # Workaround configure.in lameness. CONFIGURE_ENV+= CPPFLAGS="`net-snmp-config --cflags`" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 700042 +BROKEN= Broken with gcc 4.2 +.endif + pre-configure: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} \ --acdir=${ACLOCAL_DIR}) @@ -54,4 +60,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |