summaryrefslogtreecommitdiff
path: root/graphics/libungif
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-14 09:52:45 +0000
committerjlam <jlam>2000-07-14 09:52:45 +0000
commit9b3dcc390acaa297f17c21f36dfda419d2704688 (patch)
tree4cf2564953490d2017b1867c39896ed204ac1073 /graphics/libungif
parentfa011d457dba756e16712549e0a7856017a1c214 (diff)
downloadpkgsrc-9b3dcc390acaa297f17c21f36dfda419d2704688.tar.gz
Don't pick up stray librle.so if it exists. We don't want to build
translation support to/from GIF and RLE format. Closes PR#10172.
Diffstat (limited to 'graphics/libungif')
-rw-r--r--graphics/libungif/Makefile7
-rw-r--r--graphics/libungif/files/patch-sum3
-rw-r--r--graphics/libungif/patches/patch-aa17
3 files changed, 25 insertions, 2 deletions
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index fa344ef143c..7f5d4f8146f 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/06/03 20:11:11 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/14 09:52:46 jlam Exp $
#
DISTNAME= libungif-4.1.0
@@ -10,6 +10,8 @@ HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml
CONFLICTS= giflib-*
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
@@ -27,6 +29,9 @@ MAKE_ENV+= CC="${CC} -I${LOCALBASE}/include"
post-patch:
${RM} ${WRKSRC}/doc/gif2x11.html
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
post-install:
cd ${PREFIX}; for f in libungif.a libungif.so.5.0; do \
g=`echo $$f | ${SED} "s,libungif,libgif,"`; \
diff --git a/graphics/libungif/files/patch-sum b/graphics/libungif/files/patch-sum
index ed1e2c28171..fa2b4f42f10 100644
--- a/graphics/libungif/files/patch-sum
+++ b/graphics/libungif/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.2 2000/06/03 20:11:11 wiz Exp $
+$NetBSD: patch-sum,v 1.3 2000/07/14 09:52:47 jlam Exp $
+MD5 (patch-aa) = de061c593cc9ab136d6cb0452d8b90f6
MD5 (patch-ab) = dacda410c2da4d0695fdee220e00ce69
diff --git a/graphics/libungif/patches/patch-aa b/graphics/libungif/patches/patch-aa
new file mode 100644
index 00000000000..1ea6b8bc18f
--- /dev/null
+++ b/graphics/libungif/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.3 2000/07/14 09:52:47 jlam Exp $
+
+--- configure.in.orig Tue Jan 19 21:55:27 1999
++++ configure.in Fri Jul 14 05:47:11 2000
+@@ -16,12 +16,6 @@
+ AC_CHECK_LIB(m, pow, [MATH_LIB="${MATH_LIB} -lm"
+ COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gifclrmp gifrotat"] )
+
+-if test ${MATH_LIB}; then
+- AC_CHECK_LIB(rle, rle_hdr_init, [RLE_LIB="${RLE_LIBS} -lrle -lm"
+- COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2rle rle2gif"],
+- ,"-lm" )
+-fi
+-
+ dnl I don't have this on my system. Could someone else configure it and
+ dnl check that it works? (Need to change "main" to a function that's in the
+ dnl library, check that giflib can be reautoconf'd, configured, and