diff options
author | agc <agc> | 2001-02-05 13:54:19 +0000 |
---|---|---|
committer | agc <agc> | 2001-02-05 13:54:19 +0000 |
commit | 6e5d815c448f04e6123f4e65902b0e2f6df49de5 (patch) | |
tree | 7dcd818a889a6f107a167ec7365b0992616abbd6 /devel/sfio/patches | |
parent | e56ff1425f20cec28b974af1715c1fe77c4b52d5 (diff) | |
download | pkgsrc-6e5d815c448f04e6123f4e65902b0e2f6df49de5.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/sfio/patches')
-rw-r--r-- | devel/sfio/patches/patch-ab | 22 |
1 files changed, 17 insertions, 5 deletions
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> |