aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zimg
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-28 23:04:05 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-28 23:04:05 +0800
commit083c73083d207c3c458c6121e6fd8ecdda4d69da (patch)
treee1fdcd739c3c4f733db35c2da4e9ecae8483c90a /graphics/zimg
parent1c99f37246da8559e4e3abe903f252ab123eff6a (diff)
downloadfreebsd-ports-gnome-083c73083d207c3c458c6121e6fd8ecdda4d69da.tar.gz
freebsd-ports-gnome-083c73083d207c3c458c6121e6fd8ecdda4d69da.tar.zst
freebsd-ports-gnome-083c73083d207c3c458c6121e6fd8ecdda4d69da.zip
Support LOCALBASE properly.
PR: 23134 Submitted by: Ports Fury
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>