summaryrefslogtreecommitdiff
path: root/graphics/zimg
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-11-28 15:04:05 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-11-28 15:04:05 +0000
commite70118daada7620b794da06880b5887893465450 (patch)
tree77871b4268ed1a7135be7cf606386f7c33bdac54 /graphics/zimg
parentFix pkg-plist (diff)
Support LOCALBASE properly.
PR: 23134 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=35489
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>