aboutsummaryrefslogtreecommitdiff
path: root/graphics/simpleviewer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-02-18 19:56:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-02-18 19:56:18 +0000
commite6ce217e206fcac0c438df5105fe355a3c29681b (patch)
treee8c4ce08c89d16e8c72914a6f0cbbfae21bb94c6 /graphics/simpleviewer
parent0d9ccd14fa6b32e95d13f1fb097454f0c2c9cac0 (diff)
downloadports-e6ce217e206fcac0c438df5105fe355a3c29681b.tar.gz
ports-e6ce217e206fcac0c438df5105fe355a3c29681b.zip
- build with giflib
Notes
Notes: svn path=/head/; revision=291751
Diffstat (limited to 'graphics/simpleviewer')
-rw-r--r--graphics/simpleviewer/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile
index 9cbcb86e8b79..fa97051b7410 100644
--- a/graphics/simpleviewer/Makefile
+++ b/graphics/simpleviewer/Makefile
@@ -19,7 +19,7 @@ LICENSE= GPLv2
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png \
- ungif.5:${PORTSDIR}/graphics/libungif
+ gif.5:${PORTSDIR}/graphics/giflib
USE_BZIP2= yes
USE_EFL= imlib2
@@ -32,9 +32,8 @@ PLIST_FILES= bin/sviewgl
.include <bsd.port.pre.mk>
post-patch:
-# Respect CFLAGS, prefer more widely used libungif instead of giflib
@${REINPLACE_CMD} -e 's,-O2,${CFLAGS}, ; s,/usr,${LOCALBASE},g ; \
- s,=-s,=-L${LOCALBASE}/lib, ; s,lgif,lungif,' ${WRKSRC}/Makefile
+ s,=-s,=-L${LOCALBASE}/lib,' ${WRKSRC}/Makefile
.if ${OSVERSION} < 800501
@${REINPLACE_CMD} -e 's,const struct dirent,struct dirent,' \
${WRKSRC}/src/fileslist.*