aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zimg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/zimg')
-rw-r--r--graphics/zimg/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/zimg/Makefile b/graphics/zimg/Makefile
index a574202ead3f..5b0cc091de5b 100644
--- a/graphics/zimg/Makefile
+++ b/graphics/zimg/Makefile
@@ -15,7 +15,9 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--disable-edf --with-gd-includes=${LOCALBASE}/include/gd
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= -disable-edf --with-gd-includes=${LOCALBASE}/include/gd
MAN1= zimg.1
.include <bsd.port.mk>