From 95185453b5a576f51b52d5bae15f359e4e5c31fc Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 26 May 2001 07:16:16 +0000 Subject: Use buildlink.mk files to get dependencies on cups and fltk, and add a patch the configure script directly to remove the build dependency on autoconf. --- print/xpp/patches/patch-ab | 107 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 print/xpp/patches/patch-ab (limited to 'print/xpp/patches') diff --git a/print/xpp/patches/patch-ab b/print/xpp/patches/patch-ab new file mode 100644 index 00000000000..446af99677c --- /dev/null +++ b/print/xpp/patches/patch-ab @@ -0,0 +1,107 @@ +$NetBSD: patch-ab,v 1.1 2001/05/26 07:16:16 jlam Exp $ + +--- configure.orig Fri Jan 26 19:17:37 2001 ++++ configure +@@ -2126,8 +2126,51 @@ + echo "$ac_t""no" 1>&6 + fi + ++echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 ++echo "configure:2131: checking for main in -lm" >&5 ++ac_lib_var=`echo m'_'main | 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="-lm $LIBS" ++cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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 ++ ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ ++ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` ++ cat >> confdefs.h <&6 ++fi ++ + echo $ac_n "checking for main in -lGL""... $ac_c" 1>&6 +-echo "configure:2131: checking for main in -lGL" >&5 ++echo "configure:2174: checking for main in -lGL" >&5 + ac_lib_var=`echo GL'_'main | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -2280,49 +2323,6 @@ + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 + LIBS="$LIBFLTKA $LIBS" +-else +- echo "$ac_t""no" 1>&6 +-fi +- +-echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 +-echo "configure:2289: checking for main in -lm" >&5 +-ac_lib_var=`echo m'_'main | 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="-lm $LIBS" +-cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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 +- ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ +- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` +- cat >> confdefs.h <&6 + fi -- cgit v1.2.3