Minor tweaks for the fake libgnumalloc stuff. No longer build, install and
then rm the *.a version
This commit is contained in:
parent
421d9828c9
commit
6becb94fb2
@ -1,19 +1,20 @@
|
||||
# $Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $
|
||||
# $Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
|
||||
|
||||
LIB= fakegnumalloc
|
||||
LIBDIR= /usr/lib/compat
|
||||
LIB= fakegnumalloc
|
||||
SHLIBDIR= ${LIBDIR}/compat
|
||||
INTERNALLIB= yes # Do not build or install lib*.a
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 0
|
||||
|
||||
SRCS= fakegnumalloc.c
|
||||
NOMAN= 1
|
||||
|
||||
afterinstall:
|
||||
rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
|
||||
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} )
|
||||
|
||||
|
@ -1,19 +1,20 @@
|
||||
# $Id: Makefile,v 1.3 1996/08/30 01:08:03 peter Exp $
|
||||
# $Id: Makefile,v 1.4 1996/09/02 13:15:00 phk Exp $
|
||||
|
||||
LIB= fakegnumalloc
|
||||
LIBDIR= /usr/lib/compat
|
||||
LIB= fakegnumalloc
|
||||
SHLIBDIR= ${LIBDIR}/compat
|
||||
INTERNALLIB= yes # Do not build or install lib*.a
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 0
|
||||
|
||||
SRCS= fakegnumalloc.c
|
||||
NOMAN= 1
|
||||
|
||||
afterinstall:
|
||||
rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a
|
||||
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} )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user