aboutsummaryrefslogtreecommitdiff
path: root/misc/magicpoint
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-10-21 04:41:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-10-21 04:41:07 +0000
commita9d4500f9a84c5f6141998c6361e243f2acd9f63 (patch)
tree04062b4c936a3bc274b41d5a4b50e32078315811 /misc/magicpoint
parentf70dcde939c2fe4d51f5d026f0a88b71f9b86e09 (diff)
downloadports-a9d4500f9a84c5f6141998c6361e243f2acd9f63.tar.gz
ports-a9d4500f9a84c5f6141998c6361e243f2acd9f63.zip
Notes
Diffstat (limited to 'misc/magicpoint')
-rw-r--r--misc/magicpoint/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile
index 0258c946fc84..70ad56074631 100644
--- a/misc/magicpoint/Makefile
+++ b/misc/magicpoint/Makefile
@@ -7,7 +7,7 @@
PORTNAME= magicpoint
PORTVERSION= 1.13a
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES?= misc
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/
@@ -62,7 +62,7 @@ CONFIGURE_ARGS+= --disable-xft2
.endif
.if defined(WITH_GIF)
-LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
+LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib
CONFIGURE_ARGS+= --enable-gif
.else
CONFIGURE_ARGS+= --disable-gif
@@ -75,6 +75,9 @@ CONFIGURE_ARGS+= --enable-imlib
CONFIGURE_ARGS+= --disable-imlib
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|-lungif|-lgif|' ${WRKSRC}/configure
+
post-configure:
cd ${WRKSRC}/contrib/xmindpath && \
${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX}