diff options
author | Steve Price <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-09-27 20:13:16 +0000 |
commit | 7c46996f8a56a45975f8cacef49645b26cd5ad00 (patch) | |
tree | 6424f9fff7b7d35c0bf23c33e28cdb33a884bca8 /math/plplot/files/patch-aa | |
parent | Did this ever build? :) Mark it broken until we figure out why. (diff) |
Convert to ELF.
Notes
Notes:
svn path=/head/; revision=13463
Diffstat (limited to 'math/plplot/files/patch-aa')
-rw-r--r-- | math/plplot/files/patch-aa | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/math/plplot/files/patch-aa b/math/plplot/files/patch-aa index 95be93460cde..341419dd1e15 100644 --- a/math/plplot/files/patch-aa +++ b/math/plplot/files/patch-aa @@ -1,5 +1,5 @@ ---- configure.orig Tue Jun 6 21:58:50 1995 -+++ configure Fri Oct 3 14:59:52 1997 +--- configure.orig Tue Jun 6 14:58:50 1995 ++++ configure Sat Sep 26 23:34:48 1998 @@ -1472,13 +1472,13 @@ # ---------------------------------------------------------------------------- @@ -17,22 +17,28 @@ LDC_FLAGS=\ "$PROF_FLAG_LC $SYS_FLAGS_LC $DEBUG_FLAG_LC" -@@ -3062,6 +3062,14 @@ +@@ -3062,6 +3062,20 @@ # 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)' ++ if [ "${PORTOBJFORMAT}" = "elf" ]; then ++ SO='.so.$(MAJOR_VERSION)' ++ SHLIB_BUILD="ld -shared -soname \$@ -o" ++ SOVERSION='$(MAJOR_VERSION)' ++ else ++ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)' ++ SHLIB_BUILD="ld -Bshareable -o" ++ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)' ++ fi + echo "$ac_t""okay" 1>&6 + ;; HP-UX-* ) SO=".sl" SHLIB_F77FLAGS="+z" -@@ -4192,16 +4200,16 @@ +@@ -4192,16 +4206,16 @@ fi fi if test -z "$DOC_DIR"; then |