diff options
author | agc <agc@pkgsrc.org> | 2001-02-05 13:54:19 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-02-05 13:54:19 +0000 |
commit | 5dbe138ecfa4bd83c3dac49d96cabf6ff0de814b (patch) | |
tree | 7dcd818a889a6f107a167ec7365b0992616abbd6 /devel | |
parent | f2d262e0bef754371e35855c069d92d11d7759bb (diff) | |
download | pkgsrc-5dbe138ecfa4bd83c3dac49d96cabf6ff0de814b.tar.gz |
If we're on ELF platforms, modify the Makefile to install the
symlinks necessary: libe{stdio,sfio}.so{,.1}
Recalculate patch checksum
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sfio/files/patch-sum | 4 | ||||
-rw-r--r-- | devel/sfio/patches/patch-ab | 22 |
2 files changed, 19 insertions, 7 deletions
diff --git a/devel/sfio/files/patch-sum b/devel/sfio/files/patch-sum index 69cc7b5afba..a6b2338cdf6 100644 --- a/devel/sfio/files/patch-sum +++ b/devel/sfio/files/patch-sum @@ -1,7 +1,7 @@ -$NetBSD: patch-sum,v 1.3 2000/08/13 17:42:24 itojun Exp $ +$NetBSD: patch-sum,v 1.4 2001/02/05 13:54:19 agc Exp $ MD5 (patch-aa) = 4449fb1b5ab8ca99accd5a66238c95a6 -MD5 (patch-ab) = 76ec6036d1f179f860e2ae1283ad1f84 +MD5 (patch-ab) = 0019ef2a0ccaa5e641bade2c8216b5e7 MD5 (patch-ac) = ae401655a9302eca8385473fede84b1d MD5 (patch-ad) = 5c8a8f8bd5b327e30fdd782d07a0ee47 MD5 (patch-ae) = 1cab2e7b0c236b00e24bca04fe2d32c5 diff --git a/devel/sfio/patches/patch-ab b/devel/sfio/patches/patch-ab index f6faf2ee626..ff8cadc65c6 100644 --- a/devel/sfio/patches/patch-ab +++ b/devel/sfio/patches/patch-ab @@ -1,10 +1,10 @@ -$NetBSD: patch-ab,v 1.3 2000/08/11 14:03:23 itojun Exp $ +$NetBSD: patch-ab,v 1.4 2001/02/05 13:54:19 agc Exp $ -Build and installation commands. +Build and installation commands ---- /dev/null Tue Oct 27 17:12:04 1998 -+++ Makefile Tue Oct 27 17:16:13 1998 -@@ -0,0 +1,25 @@ +--- /dev/null Mon Feb 5 13:45:25 2001 ++++ Makefile Mon Feb 5 13:44:36 2001 +@@ -0,0 +1,37 @@ +all: + cd src/lib/sfio; make -f sfio.mk + cd src/lib/sfio/Stdio_b; make -f stdio.mk FEATURE/stdio must; make -f stdio.mk @@ -14,6 +14,11 @@ Build and installation commands. + ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_p.a ${PREFIX}/lib + ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_pic.a ${PREFIX}/lib + ${INSTALL} -c -m 0644 src/lib/sfio/libsfio.so.1.0 ${PREFIX}/lib ++ if [ "${OBJECT_FMT}" = "ELF" ]; then \ ++ (cd ${PREFIX}/lib; rm -f libsfio.so libsfio.so.1; \ ++ ln -s libsfio.so.1.0 libsfio.so; \ ++ ln -s libsfio.so.1.0 libsfio.so.1) \ ++ fi + ${RANLIB} ${PREFIX}/lib/libsfio.a + ${RANLIB} ${PREFIX}/lib/libsfio_p.a + ${RANLIB} ${PREFIX}/lib/libsfio_pic.a @@ -21,6 +26,11 @@ Build and installation commands. + ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_p.a ${PREFIX}/lib + ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_pic.a ${PREFIX}/lib + ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio.so.1.0 ${PREFIX}/lib ++ if [ "${OBJECT_FMT}" = "ELF" ]; then \ ++ (cd ${PREFIX}/lib; rm -f libstdio.so libstdio.so.1; \ ++ ln -s libstdio.so.1.0 libstdio.so; \ ++ ln -s libstdio.so.1.0 libstdio.so.1) \ ++ fi + ${RANLIB} ${PREFIX}/lib/libstdio.a + ${RANLIB} ${PREFIX}/lib/libstdio_p.a + ${RANLIB} ${PREFIX}/lib/libstdio_pic.a @@ -30,3 +40,5 @@ Build and installation commands. + ${INSTALL} -c -m 0644 src/lib/sfio/$$f ${PREFIX}/include/sfio/$$f; \ + done + ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_s/stdio.h ${PREFIX}/include/sfio/stdio.h ++ ++.include <bsd.own.mk> |