Summary: | devel/dmalloc incorrectly installs striped .a libraries | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Paul Koch <paul.koch137> |
Component: | Individual Port(s) | Assignee: | William Grzybowski <wg> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Paul Koch
2013-11-08 06:00:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it. Author: wg Date: Fri Nov 8 13:46:09 2013 New Revision: 333224 URL: http://svnweb.freebsd.org/changeset/ports/333224 Log: devel/dmalloc: fix static libraries - Fix static libraries (do not strip) - Allow staging (cheating prefix, unsupported DESTDIR) - Use options ng for DOCS PR: ports/183773 Reported by: Paul Koch <paul.koch137 gmail.com> Modified: head/devel/dmalloc/Makefile Modified: head/devel/dmalloc/Makefile ============================================================================== --- head/devel/dmalloc/Makefile Fri Nov 8 13:43:21 2013 (r333223) +++ head/devel/dmalloc/Makefile Fri Nov 8 13:46:09 2013 (r333224) @@ -11,28 +11,36 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Portable debug memory allocation library -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-threads --enable-shlib -CFLAGS+= -fPIC +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --enable-threads --enable-shlib --prefix="${STAGEDIR}${PREFIX}" +CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_DATA}" +CFLAGS= -fPIC USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes ALL_TARGET= all heavy INSTALL_TARGET= install -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+=installdocs .endif -NO_STAGE= yes pre-patch: @${REINPLACE_CMD} -e 's|\.@shlibext@|\.@shlibext@.1|' ${WRKSRC}/Makefile.in post-install: - @(cd ${PREFIX}/lib; \ - ${LN} -sf ${PREFIX}/lib/libdmalloc.so.1 ${PREFIX}/lib/libdmalloc.so; \ - ${LN} -sf ${PREFIX}/lib/libdmallocxx.so.1 ${PREFIX}/lib/libdmallocxx.so; \ - ${LN} -sf ${PREFIX}/lib/libdmallocth.so.1 ${PREFIX}/lib/libdmallocth.so; \ - ${LN} -sf ${PREFIX}/lib/libdmallocthcxx.so.1 ${PREFIX}/lib/libdmallocthcxx.so) + @(cd ${STAGEDIR}${PREFIX}/lib; \ + ${STRIP_CMD} libdmalloc.so.1; \ + ${LN} -sf libdmalloc.so.1 libdmalloc.so; \ + ${STRIP_CMD} libdmallocxx.so.1; \ + ${LN} -sf libdmallocxx.so.1 libdmallocxx.so; \ + ${STRIP_CMD} libdmallocth.so.1; \ + ${LN} -sf libdmallocth.so.1 libdmallocth.so; \ + ${STRIP_CMD} libdmallocthcxx.so.1; \ + ${LN} -sf libdmallocthcxx.so.1 libdmallocthcxx.so) .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Should be fixed, thanks. |