diff options
Diffstat (limited to 'devel/libgtop/patches/patch-aa')
-rw-r--r-- | devel/libgtop/patches/patch-aa | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-aa b/devel/libgtop/patches/patch-aa new file mode 100644 index 00000000000..60d73507b70 --- /dev/null +++ b/devel/libgtop/patches/patch-aa @@ -0,0 +1,126 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/07 13:11:35 agc Exp $ + +Make sure we always use our own (pkglibtool) version of libtool on NetBSD. + +Generalise the freebsd directory to be bsd. + +--- configure 1998/10/05 15:33:19 1.1 ++++ configure 1998/10/05 15:34:46 +@@ -1934,7 +1934,8 @@ + + + +-# Always use our own libtool. ++# Always use our own libtool for NetBSD. ++if false; then + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + + +@@ -2014,6 +2015,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + + +@@ -3263,7 +3265,12 @@ + libgtop_need_server=yes + ;; + freebsd*) +- libgtop_sysdeps_dir=freebsd ++ libgtop_sysdeps_dir=bsd ++ libgtop_use_machine_h=yes ++ libgtop_need_server=yes ++ ;; ++ netbsd*) ++ libgtop_sysdeps_dir=bsd + libgtop_use_machine_h=yes + libgtop_need_server=yes + ;; +@@ -3381,7 +3388,7 @@ + + + saved_ldflags="$LDFLAGS" +- saved_cppflags="$CPPFLAGS" ++ saved_cppflags="$CPPFLAGS -I$LOCALBASE/include" + LDFLAGS="$LDFLAGS $GNOME_LIBDIR" + + echo $ac_n "checking for main in -lqthreads""... $ac_c" 1>&6 +@@ -3847,7 +3854,7 @@ + + + LDFLAGS="$saved_ldflags $GUILE_LIBS" +- CPPFLAGS="$saved_cppflags $GUILE_INCS" ++ CPPFLAGS="$saved_cppflags $GUILE_INCS -I$LOCALBASE/include" + + echo $ac_n "checking whether guile works""... $ac_c" 1>&6 + echo "configure:3854: checking whether guile works" >&5 +@@ -3895,7 +3902,7 @@ + fi + + LDFLAGS="$saved_ldflags" +- CPPFLAGS="$saved_cppflags" ++ CPPFLAGS="$saved_cppflags -I$LOCALBASE/include" + + + +@@ -4073,6 +4080,7 @@ + + + ++if false; then + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +@@ -4153,6 +4161,7 @@ + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \ + $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } ++fi + + + +@@ -7722,6 +7731,9 @@ + freebsd*) + fu_cv_sys_stat_statfs2_bsize=yes + ;; ++ netbsd*) ++ fu_cv_sys_stat_statfs2_bsize=yes ++ ;; + osf*) + fu_cv_sys_stat_statfs3_osf1=yes + ;; +@@ -8882,7 +8894,7 @@ + sysdeps/osf1/Makefile + sysdeps/linux/Makefile + sysdeps/kernel/Makefile +-sysdeps/freebsd/Makefile ++sysdeps/bsd/Makefile + src/Makefile + src/daemon/Makefile + src/inodedb/Makefile +@@ -9107,7 +9119,7 @@ + sysdeps/osf1/Makefile + sysdeps/linux/Makefile + sysdeps/kernel/Makefile +-sysdeps/freebsd/Makefile ++sysdeps/bsd/Makefile + src/Makefile + src/daemon/Makefile + src/inodedb/Makefile +@@ -9151,10 +9163,10 @@ + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + +- case "$ac_given_INSTALL" in +- [/$]*) INSTALL="$ac_given_INSTALL" ;; +- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; +- esac ++# case "$ac_given_INSTALL" in ++# [/$]*) INSTALL="$ac_given_INSTALL" ;; ++# *) INSTALL="$ac_dots$ac_given_INSTALL" ;; ++# esac + + echo creating "$ac_file" + rm -f "$ac_file" |