aboutsummaryrefslogtreecommitdiff
path: root/graphics/zgv
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-09 16:35:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-09 16:35:36 +0000
commit37934420e46d9c86fb4c7256371a35ecc36ae932 (patch)
tree0756ce9e8e840497470bfcafc0cac3adf9439ce7 /graphics/zgv
parentb577f7a8bf1ebf70eeae2872e1626a1229df7531 (diff)
downloadports-37934420e46d9c86fb4c7256371a35ecc36ae932.tar.gz
ports-37934420e46d9c86fb4c7256371a35ecc36ae932.zip
Notes
Diffstat (limited to 'graphics/zgv')
-rw-r--r--graphics/zgv/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/zgv/Makefile b/graphics/zgv/Makefile
index 5abc8def3124..dd0fcb502d52 100644
--- a/graphics/zgv/Makefile
+++ b/graphics/zgv/Makefile
@@ -22,7 +22,9 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
ONLY_FOR_ARCHS= i386
USE_GETOPT_LONG=yes
USE_GMAKE= yes
-ALL_TARGET= all info
+USE_REINPLACE= yes
+ALL_TARGET= zgv info
+MAKE_ENV= ZGV_LIBS="${LDFLAGS}"
PLIST_FILES= bin/zgv etc/zgvrc.sample
.if !defined(NO_INSTALL_MANPAGES)
@@ -35,6 +37,7 @@ PORTDOCS= NEWS README SECURITY TODO INSTALL
post-patch:
${RM} ${WRKSRC}/doc/zgv
+ @${REINPLACE_CMD} -e 's|ZGV_LIBS=|ZGV_LIBS+=|' ${WRKSRC}/src/Makefile
do-install:
${INSTALL} -c -g wheel -o root -m 4755 ${WRKSRC}/src/zgv ${PREFIX}/bin