diff options
-rw-r--r-- | net/mrtg/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index cdaeb0bd554..de6150b28b5 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2000/02/07 16:44:13 tron Exp $ +# $NetBSD: Makefile,v 1.13 2000/03/03 13:56:48 agc Exp $ # FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp # @@ -24,6 +24,15 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-gd-inc=${LOCALBASE}/include \ --with-gd-lib=${LOCALBASE}/lib +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +CONFIGURE_ARGS+= --with-z-lib=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-z-inc=${LOCALBASE}/include +CONFIGURE_ARGS+= --with-png-lib=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-png-inc=${LOCALBASE}/include +.endif + post-build: ${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/mrtg.conf.example \ >${WRKDIR}/mrtg.conf.example |