summaryrefslogtreecommitdiff
path: root/x11/fltk/patches
diff options
context:
space:
mode:
authorben <ben>2005-03-19 15:26:18 +0000
committerben <ben>2005-03-19 15:26:18 +0000
commit3e647cd5ef73617c0896ee4536a3f2046cdccfdf (patch)
tree9f61fa35b65765122732863fed715a73a9902317 /x11/fltk/patches
parentbd63a668fbd44ddf7884b8991df683b2daf6efcb (diff)
downloadpkgsrc-3e647cd5ef73617c0896ee4536a3f2046cdccfdf.tar.gz
Originally fltk used different file names for the man pages depending on
the platform. I followed the documentation that is now in pkgsrc.txt and put the default names in PLIST, and the NetBSD names in PLIST.NetBSD. The PLIST handling does not actually work this way, and it will be cleaner to use the same file names for man pages regardless of platform.
Diffstat (limited to 'x11/fltk/patches')
-rw-r--r--x11/fltk/patches/patch-ab30
-rw-r--r--x11/fltk/patches/patch-ac34
2 files changed, 57 insertions, 7 deletions
diff --git a/x11/fltk/patches/patch-ab b/x11/fltk/patches/patch-ab
index 058b3889d27..d47051c6a73 100644
--- a/x11/fltk/patches/patch-ab
+++ b/x11/fltk/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.9 2004/10/21 08:29:45 adam Exp $
+$NetBSD: patch-ab,v 1.10 2005/03/19 15:26:18 ben Exp $
---- configure.in.orig 2004-10-18 21:05:27.000000000 +0000
+--- configure.in.orig 2004-11-19 19:44:17.000000000 -0800
+++ configure.in
@@ -95,6 +95,7 @@ AC_SUBST(GLLIBNAME)
AC_SUBST(IMGLIBNAME)
@@ -48,7 +48,31 @@ $NetBSD: patch-ab,v 1.9 2004/10/21 08:29:45 adam Exp $
AC_SUBST(DSOCOMMAND)
AC_SUBST(DSOLINK)
AC_SUBST(DSONAME)
-@@ -726,7 +751,7 @@ if test -n "$GCC"; then
+@@ -658,23 +683,8 @@ AC_SUBST(POSTBUILD)
+ AC_SUBST(THREADS)
+
+ dnl Figure out the appropriate formatted man page extension...
+-case "$uname" in
+- *BSD* | Darwin*)
+- # *BSD
+- CAT1EXT=0
+- CAT3EXT=0
+- ;;
+- IRIX*)
+- # SGI IRIX
+- CAT1EXT=z
+- CAT3EXT=z
+- ;;
+- *)
+- # All others
+ CAT1EXT=1
+ CAT3EXT=3
+- ;;
+-esac
+
+ AC_SUBST(CAT1EXT)
+ AC_SUBST(CAT3EXT)
+@@ -743,7 +753,7 @@ if test -n "$GCC"; then
;;
esac
diff --git a/x11/fltk/patches/patch-ac b/x11/fltk/patches/patch-ac
index 735812b323b..35099ede359 100644
--- a/x11/fltk/patches/patch-ac
+++ b/x11/fltk/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.7 2004/10/21 08:29:45 adam Exp $
+$NetBSD: patch-ac,v 1.8 2005/03/19 15:26:18 ben Exp $
---- configure.orig 2004-10-19 20:01:57.000000000 +0000
+--- configure.orig 2004-11-23 12:35:43.000000000 -0800
+++ configure
@@ -855,6 +855,8 @@ Optional Features:
--enable-debug turn on debugging default=no
@@ -56,7 +56,33 @@ $NetBSD: patch-ac,v 1.7 2004/10/21 08:29:45 adam Exp $
-@@ -9204,7 +9235,7 @@ echo "${ECHO_T}yes" >&6
+@@ -9148,23 +9179,8 @@ esac
+
+
+
+-case "$uname" in
+- *BSD* | Darwin*)
+- # *BSD
+- CAT1EXT=0
+- CAT3EXT=0
+- ;;
+- IRIX*)
+- # SGI IRIX
+- CAT1EXT=z
+- CAT3EXT=z
+- ;;
+- *)
+- # All others
+- CAT1EXT=1
+- CAT3EXT=3
+- ;;
+-esac
++CAT1EXT=1
++CAT3EXT=3
+
+
+
+@@ -9230,7 +9246,7 @@ echo "${ECHO_T}yes" >&6
;;
esac
@@ -65,7 +91,7 @@ $NetBSD: patch-ac,v 1.7 2004/10/21 08:29:45 adam Exp $
# Show all standard warnings + unused variables, conversion errors,
# and inlining problems when compiling...
-@@ -10094,6 +10125,7 @@ s,@GLLIBNAME@,$GLLIBNAME,;t t
+@@ -10120,6 +10136,7 @@ s,@GLLIBNAME@,$GLLIBNAME,;t t
s,@IMGLIBNAME@,$IMGLIBNAME,;t t
s,@LIBEXT@,$LIBEXT,;t t
s,@LIBNAME@,$LIBNAME,;t t