svn commit: trunk/buildroot/package/pcre
Author: jacmet
Date: 2008-09-17 14:33:19 -0700 (Wed, 17 Sep 2008) New Revision: 23416
Log:
pcre: fixup paths in pcre-config
Modified:
trunk/buildroot/package/pcre/pcre.mk
Changeset:
Modified: trunk/buildroot/package/pcre/pcre.mk
===================================================================
buildroot/package/pcre/pcre.mk +3 -0
@@ -20,5 +20,8 @@ $(eval $(call AUTOTARGETS,package,pcre)) $(PCRE_HOOK_POST_INSTALL): $(PCRE_TARGET_INSTALL_TARGET) + $(SED) 's,^prefix=.*,prefix=$(STAGING_DIR)/usr,' \ + -e 's,^exec_prefix=.*,exec_prefix=$(STAGING_DIR)/usr,' \ + $(STAGING_DIR)/usr/bin/pcre-config rm -rf $(TARGET_DIR)/usr/share/doc/pcre touch $@
There are a number of files that require this 'editing' xml2-config, xslt-config, freetype-config and now pcre-config off the top of my head.
Maybe we could add to Makefile.autotools.in a check for STAGINGDIR/usr/bin/$PKG-config
If it exists edit it
What do you think?
Dan
Quoted 35 lines · Peter Korsgaard-3 wrote:
Author: jacmet
Date: 2008-09-17 14:33:19 -0700 (Wed, 17 Sep 2008) New Revision: 23416Log:
pcre: fixup paths in pcre-configModified:
trunk/buildroot/package/pcre/pcre.mkChangeset:
Modified:trunk/buildroot/package/pcre/pcre.mk
===================================================================
---trunk/buildroot/package/pcre/pcre.mk2008-09-17 11:45:37 UTC (rev
23415)
+++trunk/buildroot/package/pcre/pcre.mk2008-09-17 21:33:19 UTC (rev
23416)buildroot/package/pcre/pcre.mk +3
-0@@ -20,5 +20,8 @@ $(eval $(call AUTOTARGETS,package,pcre)) $(PCRE_HOOK_POST_INSTALL): $(PCRE_TARGET_INSTALL_TARGET) + $(SED) 's,^prefix=.*,prefix=$(STAGING_DIR)/usr,' \ + -e 's,^exec_prefix=.*,exec_prefix=$(STAGING_DIR)/usr,' \ + $(STAGING_DIR)/usr/bin/pcre-config rm -rf $(TARGET_DIR)/usr/share/doc/pcre touch $@_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Signature · 2 lines
View this message in context: http://www.nabble.com/svn-commit%3A-trunk-buildroot-package-pcre-tp19541579p19549945.html Sent from the BuildRoot mailing list archive at Nabble.com.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Laird <[email protected]> writes:
Daniel> There are a number of files that require this 'editing' Daniel> xml2-config, xslt-config, freetype-config and now pcre-config Daniel> off the top of my head.
Daniel> Maybe we could add to Makefile.autotools.in a check for Daniel> STAGINGDIR/usr/bin/$PKG-config
Daniel> If it exists edit it
Yeah, if we can come up with a generic sed line, then I'm all for it.
Signature · 1 line
Bye, Peter Korsgaard