Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 16:41:15 +0200
From:      LEVAI Daniel <leva@ecentrum.hu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182096: Fixing the security/kc build missing pkg-config
Message-ID:  <20130914144113.GA7915@daniell-kurt.local>
Resent-Message-ID: <201309141450.r8EEo19k010325@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130914144113.GA7915>