summaryrefslogtreecommitdiff
path: root/graphics/giflib
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-14 09:52:45 +0000
committerjlam <jlam>2000-07-14 09:52:45 +0000
commit7313cdf24323e6508b3c1f4497ec8ba37e3dfc7b (patch)
tree4cf2564953490d2017b1867c39896ed204ac1073 /graphics/giflib
parent1b1bfaa88aeac987265002704f20711ffd7fb941 (diff)
downloadpkgsrc-7313cdf24323e6508b3c1f4497ec8ba37e3dfc7b.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/giflib')
-rw-r--r--graphics/giflib/Makefile7
-rw-r--r--graphics/giflib/files/patch-sum3
-rw-r--r--graphics/giflib/patches/patch-aa17
3 files changed, 25 insertions, 2 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index 60492c3f79e..e5558bc1545 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2000/06/09 05:34:25 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2000/07/14 09:52:45 jlam Exp $
#
DISTNAME= giflib-4.1.0
@@ -10,6 +10,8 @@ HOMEPAGE= http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml
CONFLICTS= libungif-*
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+
USE_LIBTOOL= # defined
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:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} COPYING PATENT_PROBLEMS ${DOCDIR}
diff --git a/graphics/giflib/files/patch-sum b/graphics/giflib/files/patch-sum
index 302072c9968..418db1aea01 100644
--- a/graphics/giflib/files/patch-sum
+++ b/graphics/giflib/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.4 2000/06/09 05:34:27 jlam Exp $
+$NetBSD: patch-sum,v 1.5 2000/07/14 09:52:46 jlam Exp $
+MD5 (patch-aa) = 6886eeb2c09f6612f0f236094dadf759
MD5 (patch-ab) = c74223ef8d6f51235a56930377ea6558
diff --git a/graphics/giflib/patches/patch-aa b/graphics/giflib/patches/patch-aa
new file mode 100644
index 00000000000..24fa6bcd75e
--- /dev/null
+++ b/graphics/giflib/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.8 2000/07/14 09:52:46 jlam Exp $
+
+--- configure.in.orig Wed Feb 10 01:19:36 1999
++++ configure.in Fri Jul 14 05:48:33 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