summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-09-26 14:22:32 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-09-26 14:22:32 +0000
commitb2419d6fe217f59adef8ac94df4ad9b3b2afca69 (patch)
tree18358a575c355b65ab4582ad4629596fa38d5dca
parent5005b18574006f04d1fdde23cbf8eff060eb1d90 (diff)
Notes
-rw-r--r--lib/libfakegnumalloc/Makefile5
-rw-r--r--lib/libgnumalloc/Makefile5
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libfakegnumalloc/Makefile b/lib/libfakegnumalloc/Makefile
index 967f6914d5a1..4a06bbd970e2 100644
--- a/lib/libfakegnumalloc/Makefile
+++ b/lib/libfakegnumalloc/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
+# $Id: Makefile,v 1.5 1996/09/19 09:36:43 peter Exp $
LIB= fakegnumalloc
SHLIBDIR= ${LIBDIR}/compat
@@ -9,12 +9,11 @@ SHLIB_MINOR= 0
SRCS= fakegnumalloc.c
afterinstall:
- rm -f ${DESTDIR}${LIBDIR}/libgnumalloc*
- rm -f ${DESTDIR}${SHLIBDIR}/libgnumalloc*
for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; do \
if [ -d $$i ] ; then exit 0 ; fi ; \
done && \
( cd ${DESTDIR}${SHLIBDIR} && \
+ rm -f libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} && \
ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} )
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile
index 967f6914d5a1..4a06bbd970e2 100644
--- a/lib/libgnumalloc/Makefile
+++ b/lib/libgnumalloc/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
+# $Id: Makefile,v 1.5 1996/09/19 09:36:43 peter Exp $
LIB= fakegnumalloc
SHLIBDIR= ${LIBDIR}/compat
@@ -9,12 +9,11 @@ SHLIB_MINOR= 0
SRCS= fakegnumalloc.c
afterinstall:
- rm -f ${DESTDIR}${LIBDIR}/libgnumalloc*
- rm -f ${DESTDIR}${SHLIBDIR}/libgnumalloc*
for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; do \
if [ -d $$i ] ; then exit 0 ; fi ; \
done && \
( cd ${DESTDIR}${SHLIBDIR} && \
+ rm -f libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} && \
ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} )