Port sysutils/cfengine3 (vesion 3.1.5) with PCRE option marks PCRE as a build dependency. If this is built with 'portmaster --delete-build-only', PCRE gets built (along with cfengine), but is deleted after cfengine is installed. Running cfengine utilities subsequently error out with "library not found". Fix: Patch the Makefile thus: $ diff -u Makefile* --- Makefile 2011-05-22 11:57:31.000000000 -0700 +++ Makefile.new 2011-06-17 12:00:51.000000000 -0700 @@ -34,7 +34,7 @@ .include <bsd.port.pre.mk> .if defined(WITH_PCRE) -BUILD_DEPENDS+= pcre-config:${PORTSDIR}/devel/pcre +LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+= --with-pcre=${LOCALBASE} .endif Patch attached with submission follows: How-To-Repeat: Fresh install of FreeBSD with ports collection. $ cd /usr/ports $ (cd ports-mgmt/portmaster/ && sudo make install clean) ===> Installing for portmaster-3.9 (snip) ===> Cleaning for portmaster-3.9 $ sudo portmaster --delete-build-only sysutils/cfengine3 ===>>> The following actions will be taken if you choose to proceed: Install sysutils/cfengine3 Install devel/pcre (snip) ===>>> The following actions were performed: Installation of devel/pcre (pcre-8.12) Installation of sysutils/cfengine3 (cfengine-3.1.5) ===>>> Deleting installed build-only dependencies $ cf-promises /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "cf-promises"
Responsible Changed From-To: freebsd-ports-bugs->cy Fix synopsis and assign.
State Changed From-To: open->closed Committed. Thanks.
cy 2011-08-08 19:41:12 UTC FreeBSD ports repository Modified files: sysutils/cfengine3 Makefile Log: eplace build dependency with library dependency. PR: 157965 Submitted by: Jim Vanderveen <jim.vanderveen@gmail.com> Revision Changes Path 1.57 +2 -1 ports/sysutils/cfengine3/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"