diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2008-08-21 07:08:31 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2008-08-21 07:08:31 +0000 |
commit | 81dc0bd01de34831c486b88162f894750b6e6d0d (patch) | |
tree | 1ed749bb6ad680a56f7971f6cd0c2a89253f63dc /devel/ptmalloc2 | |
parent | 1328358a3e5c8bf8b4cedf9ad7176565a1e30d46 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=218942
Diffstat (limited to 'devel/ptmalloc2')
-rw-r--r-- | devel/ptmalloc2/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ptmalloc2/Makefile b/devel/ptmalloc2/Makefile index 8b41d985305a..320c920999ff 100644 --- a/devel/ptmalloc2/Makefile +++ b/devel/ptmalloc2/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 |