summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 967f691..4a06bbd 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 967f691..4a06bbd 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} )
OpenPOWER on IntegriCloud