From 85c277b7f760e8fd4ae97971857c10079131c55e Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 28 Nov 1999 05:22:43 +0000 Subject: [PATCH] use proper autoconf options to tell MRTG where gd and libpng instead of overriding CFLAGS and LDFLAGS --- net/mrtg/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 7e599007f5f..bb563518027 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 1999/11/26 16:20:25 brad Exp $ +# $OpenBSD: Makefile,v 1.16 1999/11/28 05:22:43 brad Exp $ DISTNAME= mrtg-2.8.8 CATEGORIES= net @@ -14,8 +14,10 @@ LIB_DEPENDS= png.1.3:${PORTSDIR}/graphics/png \ gd.17:${PORTSDIR}/graphics/gd GNU_CONFIGURE= yes -CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gd-inc="${LOCALBASE}/include" \ + --with-gd-lib="${LOCALBASE}/lib" \ + --with-png-inc="${LOCALBASE}/include" \ + --with-png-lib="${LOCALBASE}/lib" do-install: @mkdir -p ${PREFIX}/share/mrtg