summaryrefslogtreecommitdiff
path: root/graphics/libungif/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libungif/Makefile')
-rw-r--r--graphics/libungif/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index 3b543782881..d7bc6c227ef 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/03/27 03:20:01 hubertf Exp $
+# $NetBSD: Makefile,v 1.14 2001/05/02 15:51:23 jlam Exp $
#
DISTNAME= libungif-4.1.0
@@ -11,12 +11,10 @@ COMMENT= Tools and library routines for working with GIF images
CONFLICTS= giflib-*
-BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
+USE_LIBTOOL= # defined
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-USE_LIBTOOL= yes
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= # defined
CONFIGURE_ARGS= --without-x
DOCDIR= ${PREFIX}/share/doc/libungif
@@ -31,8 +29,12 @@ MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
-pre-configure:
- cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
+# We patch configure.in, so touch the Makefile.in files to prevent automake
+# from regenerating them.
+#
+pre-build:
+ ${TOUCH} ${WRKSRC}/aclocal.m4
+ ${FIND} ${WRKSRC} -name "Makefile.in" -exec ${TOUCH} {} \;
post-install:
cd ${PREFIX}; \