diff options
author | vd <vd@FreeBSD.org> | 2008-08-21 15:08:31 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2008-08-21 15:08:31 +0800 |
commit | 9a8ee7a7a09bc025713b27bf13c8a2e790fb10d7 (patch) | |
tree | 79f1340fb31b17cd26af197fc42c70c21e515b19 /devel/ptmalloc | |
parent | a2bf24a36b7c7866f51c7035a1098ac0e0c845bb (diff) | |
download | freebsd-ports-gnome-9a8ee7a7a09bc025713b27bf13c8a2e790fb10d7.tar.gz freebsd-ports-gnome-9a8ee7a7a09bc025713b27bf13c8a2e790fb10d7.tar.zst freebsd-ports-gnome-9a8ee7a7a09bc025713b27bf13c8a2e790fb10d7.zip |
Use INSTALL_DATA for shared libraries instead of INSTALL_PROGRAM in
order to fix the build failure in graphics/xaralx:
../wxOil/compatdef.h:605: undefined reference to `malloc_usable_size'
(if the library is stripped then nm(1) shows "no symbols")
Submitted by: vd
Reviewed by: pav
Approved by: Pedro Giffuni <pfgshield-freebsd@yahoo.com> (maintainer)
Diffstat (limited to 'devel/ptmalloc')
-rw-r--r-- | devel/ptmalloc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ptmalloc/Makefile b/devel/ptmalloc/Makefile index 8b41d985305a..320c920999ff 100644 --- a/devel/ptmalloc/Makefile +++ b/devel/ptmalloc/Makefile @@ -7,6 +7,7 @@ PORTNAME= ptmalloc PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.malloc.de/malloc/ DISTNAME= ${PORTNAME}2-current @@ -28,9 +29,9 @@ post-patch: do-install: all ${MKDIR} ${PREFIX}/${INCDIR} ${INSTALL_DATA} ${WRKSRC}/malloc.h ${PREFIX}/${INCDIR}/ - ${INSTALL_PROGRAM} ${WRKSRC}/malloc.so ${PREFIX}/lib/libptmalloc.so.2 + ${INSTALL_DATA} ${WRKSRC}/malloc.so ${PREFIX}/lib/libptmalloc.so.2 ${LN} -s ${PREFIX}/lib/ptmalloc.so.2 ${PREFIX}/lib/libptmalloc.so - ${INSTALL_PROGRAM} ${WRKSRC}/libmalloc.a ${PREFIX}/lib/libptmalloc.a + ${INSTALL_DATA} ${WRKSRC}/libmalloc.a ${PREFIX}/lib/libptmalloc.a regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check |