diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-02 15:51:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-02 15:51:21 +0000 |
commit | 7ade8a3d5675273210e8660747432937e22cd8f4 (patch) | |
tree | 058cb0055caa8afdaffbb32f111650737406e5cd /graphics/libungif/patches | |
parent | 9fc65d84bc60e61a8f92c62787d3c2edfe42945d (diff) | |
download | pkgsrc-7ade8a3d5675273210e8660747432937e22cd8f4.tar.gz |
Patch configure instead of configure.in so we don't need autoconf as a
build dependency. Also minimize diffs between giflib/Makefile and
libungif/Makefile.
Diffstat (limited to 'graphics/libungif/patches')
-rw-r--r-- | graphics/libungif/patches/patch-ac | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/graphics/libungif/patches/patch-ac b/graphics/libungif/patches/patch-ac new file mode 100644 index 00000000000..76bf27d4e5c --- /dev/null +++ b/graphics/libungif/patches/patch-ac @@ -0,0 +1,55 @@ +$NetBSD: patch-ac,v 1.1 2001/05/02 15:51:24 jlam Exp $ + +--- configure.orig Tue Jan 19 23:32:09 1999 ++++ configure +@@ -2467,50 +2467,6 @@ + fi + + +-if test ${MATH_LIB}; then +- echo $ac_n "checking for rle_hdr_init in -lrle""... $ac_c" 1>&6 +-echo "configure:2473: checking for rle_hdr_init in -lrle" >&5 +-ac_lib_var=`echo rle'_'rle_hdr_init | sed 'y%./+-%__p_%'` +-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- ac_save_LIBS="$LIBS" +-LIBS="-lrle "-lm" $LIBS" +-cat > conftest.$ac_ext <<EOF +-#line 2481 "configure" +-#include "confdefs.h" +-/* Override any gcc2 internal prototype to avoid an error. */ +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char rle_hdr_init(); +- +-int main() { +-rle_hdr_init() +-; return 0; } +-EOF +-if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=no" +-fi +-rm -f conftest* +-LIBS="$ac_save_LIBS" +- +-fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- RLE_LIB="${RLE_LIBS} -lrle -lm" +- COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2rle rle2gif" +-else +- echo "$ac_t""no" 1>&6 +-fi +- +-fi +- + echo $ac_n "checking for main in -lgl_s""... $ac_c" 1>&6 + echo "configure:2516: checking for main in -lgl_s" >&5 + ac_lib_var=`echo gl_s'_'main | sed 'y%./+-%__p_%'` |