diff options
Diffstat (limited to 'lib/libgnumalloc/Makefile')
-rw-r--r-- | lib/libgnumalloc/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libgnumalloc/Makefile b/lib/libgnumalloc/Makefile new file mode 100644 index 0000000..c8dbdff --- /dev/null +++ b/lib/libgnumalloc/Makefile @@ -0,0 +1,16 @@ +# $Id$ + +LIB= fakegnumalloc +SRCS= fakegnumalloc.c +NOMAN= 1 + +afterinstall: + rm -f ${DESTDIR}${LIBDIR}/libfakegnumalloc*.a + for i in ${DESTDIR}/var/db/pkg/gnumalloc* ; \ + do if [ -d $$i ] ; then exit 0 ; fi ; done && \ + ( cd ${DESTDIR}${LIBDIR} && \ + rm -rf libgnumalloc* && \ + ln -fs libfakegnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ + libgnumalloc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ) + +.include <bsd.lib.mk> |