diff options
author | Koop Mast <kwm@FreeBSD.org> | 2010-10-29 12:02:22 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2010-10-29 12:02:22 +0000 |
commit | 99a02e38e737f67649660499370ab2fdf45712f2 (patch) | |
tree | c5271b6624732761b36527dfdf32eb52429ddc3e /devel/pcre | |
parent | - Update to 0.65 (diff) |
Hide a sed line.
Fix a configure assumption. Configure tries to figure out the linker objects.
The check it uses for this doesn't work with clang. So tweak the check to make it work.
Approved by: maintainer timeout (21 days)
Notes
Notes:
svn path=/head/; revision=263727
Diffstat (limited to 'devel/pcre')
-rw-r--r-- | devel/pcre/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile index 5b1a4caae798..52d619b0effd 100644 --- a/devel/pcre/Makefile +++ b/devel/pcre/Makefile @@ -55,8 +55,10 @@ post-patch: @${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \ ${WRKSRC}/Makefile.in .endif - ${REINPLACE_CMD} -e 's/\(pkgconfigdir = \).*/\1$$\(DESTDIR\)$$\(prefix\)\/libdata\/pkgconfig/' \ + @${REINPLACE_CMD} -e 's/\(pkgconfigdir = \).*/\1$$\(DESTDIR\)$$\(prefix\)\/libdata\/pkgconfig/' \ ${WRKSRC}/Makefile.in +# work around for a autoconf assumption, to fix c++ linking with clang + @${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "conftest\\.$$objext"|g' ${WRKSRC}/configure post-install: @${STRIP_CMD} ${PREFIX}/bin/pcregrep ${PREFIX}/bin/pcretest |