summaryrefslogtreecommitdiff
path: root/math/plplot/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-10-06 08:18:49 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-10-06 08:18:49 +0000
commit59effd03fb3834cd97d7930f551c07e0ec408755 (patch)
tree3100c50ad9887c67ab29c52eea1c13e1f496eb03 /math/plplot/files
parentUpdate to include some more official patches from the exmh web site. (diff)
Import plplot port. plplot is a scientific plotting library.
Diffstat (limited to 'math/plplot/files')
-rw-r--r--math/plplot/files/patch-aa54
-rw-r--r--math/plplot/files/patch-ab22
2 files changed, 76 insertions, 0 deletions
diff --git a/math/plplot/files/patch-aa b/math/plplot/files/patch-aa
new file mode 100644
index 000000000000..95be93460cde
--- /dev/null
+++ b/math/plplot/files/patch-aa
@@ -0,0 +1,54 @@
+--- configure.orig Tue Jun 6 21:58:50 1995
++++ configure Fri Oct 3 14:59:52 1997
+@@ -1472,13 +1472,13 @@
+ # ----------------------------------------------------------------------------
+
+ CC_FLAGS=\
+-"-c $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
++"-c $CFLAGS $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
+
+ CXX_FLAGS=\
+-"-c $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
++"-c $CFLAGS $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
+
+ F77_FLAGS=\
+-"-c $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
++"-c $FFLAGS $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
+
+ LDC_FLAGS=\
+ "$PROF_FLAG_LC $SYS_FLAGS_LC $DEBUG_FLAG_LC"
+@@ -3062,6 +3062,14 @@
+ # Hmm, would be good to replace that trailing .0 with the
+ # compilation number or some such. Have to think about that.
+ ;;
++ FreeBSD*|NetBSD*|OpenBSD* )
++ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)'
++ SHLIB_CCFLAGS="-fpic -DPIC"
++ SHLIB_CXXFLAGS="-fpic -DPIC"
++ SHLIB_BUILD="ld -Bshareable -o"
++ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)'
++ echo "$ac_t""okay" 1>&6
++ ;;
+ HP-UX-* )
+ SO=".sl"
+ SHLIB_F77FLAGS="+z"
+@@ -4192,16 +4200,16 @@
+ fi
+ fi
+ if test -z "$DOC_DIR"; then
+- DOC_DIR=$prefix/doc
++ DOC_DIR=$prefix/share/doc/plplot
+ fi
+ if test -z "$INFO_DIR"; then
+ INFO_DIR=$prefix/info
+ fi
+ if test -z "$INCLUDE_DIR"; then
+- INCLUDE_DIR=$prefix/include
++ INCLUDE_DIR=$prefix/include/plplot
+ fi
+ if test -z "$DEMOS_DIR"; then
+- DEMOS_DIR=$prefix/examples
++ DEMOS_DIR=$prefix/share/examples/plplot
+ fi
+
+ cat >> confdefs.h <<EOF
diff --git a/math/plplot/files/patch-ab b/math/plplot/files/patch-ab
new file mode 100644
index 000000000000..6d2d337d2583
--- /dev/null
+++ b/math/plplot/files/patch-ab
@@ -0,0 +1,22 @@
+--- cf/install.in.orig Tue Jun 6 20:13:09 1995
++++ cf/install.in Fri Oct 3 15:41:49 1997
+@@ -27,15 +27,15 @@
+
+ install_lib:
+ -if test ! -d $(INCLUDE_DIR); then mkdir -p $(INCLUDE_DIR); fi
+- -if test ! -d $(LIB_DIR); then mkdir -p $(LIB_DIR); fi
++ -if test ! -d $(LIB_DIR)/plplot; then mkdir -p $(LIB_DIR)/plplot; fi
+ -if test ! -d $(DOC_DIR); then mkdir -p $(DOC_DIR); fi
+ -if test ! -d $(BIN_DIR); then mkdir -p $(BIN_DIR); fi
+ -if test ! -d $(INFO_DIR); then mkdir -p $(INFO_DIR); fi
+- -cd $(top_srcdir)/lib; cp *.fnt *.map $(LIB_DIR)
++ -cd $(top_srcdir)/lib; cp *.fnt *.map $(LIB_DIR)/plplot
+ -cp $(PLLIB_BASE)* $(LIB_DIR); \
+- for file in $(PLLIB_BASE)*; do $(RANLIB) $(LIB_DIR)/$$file; done
++ for file in $(PLLIB_BASE)*.a; do $(RANLIB) $(LIB_DIR)/$$file; done
+ -cd $(top_srcdir); \
+- cp README NEWS CHANGES Copyright COPYING.LIB FAQ ToDo \
++ cp README NEWS CHANGES FAQ ToDo \
+ mklinks $(DOC_DIR)
+ -if test ! -f $(DOC_DIR)/README.local; then \
+ cp $(top_srcdir)/doc/README.local $(DOC_DIR); fi