ports/182096: Fixing the security/kc build missing pkg-config

LEVAI Daniel leva at ecentrum.hu
Sat Sep 14 14:50:02 UTC 2013


>Number:         182096
>Category:       ports
>Synopsis:       Fixing the security/kc build missing pkg-config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     daniell
>Release:        FreeBSD 9.2-RC4 i386
>Organization:
-
>Environment:
System: FreeBSD freebsd-stable 9.2-RC4 FreeBSD 9.2-RC4 #0 r255465: Wed Sep 11 09:29:50 UTC 2013 root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	In reply to the pkg-fallout email.
	It just misses the pkg-config program, so as not make a separate Makefile for each and every OS,
	I just substitute the 'pkg-config' executable with pkgconf in the port's Makefile.
	BTW, why don't you guys just symlink pkg-config to pkgconf?
>How-To-Repeat:
	-
>Fix:
Index: Makefile
===================================================================
--- Makefile	(revision 327155)
+++ Makefile	(working copy)
@@ -25,6 +25,9 @@
 
 MAKE_ENV+=	HAVE_PCRE=yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,pkg-config,pkgconf,' ${WRKSRC}/Makefile
+
 post-install:
 	${INSTALL} -d ${PREFIX}/share/kc
 	${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list