Bug 182096 - Fixing the security/kc build missing pkg-config
Summary: Fixing the security/kc build missing pkg-config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 15:50 UTC by Daniel
Modified: 2013-09-14 17:40 UTC (History)
0 users

See Also:


Attachments
file.diff (380 bytes, patch)
2013-09-14 15:50 UTC, Daniel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2013-09-14 15:50:00 UTC
	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: 	-
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-14 16:02:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

I'll take it.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-14 17:33:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-14 17:33:04 UTC
Author: sunpoet
Date: Sat Sep 14 16:32:56 2013
New Revision: 327300
URL: http://svnweb.freebsd.org/changeset/ports/327300

Log:
  - Fix build
  - While I'm here:
    - Pet portlint: move USES downward
    - Convert to new LIB_DEPENDS format
  
  PR:		ports/182096
  Submitted by:	LEVAI Daniel <leva@ecentrum.hu> (maintainer)

Modified:
  head/security/kc/Makefile

Modified: head/security/kc/Makefile
==============================================================================
--- head/security/kc/Makefile	Sat Sep 14 15:53:45 2013	(r327299)
+++ head/security/kc/Makefile	Sat Sep 14 16:32:56 2013	(r327300)
@@ -11,11 +11,12 @@ COMMENT=	Console based password storing 
 
 LICENSE=	BSD
 
-USES=		pkgconfig
-LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2 \
-		pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
+		libpcre.so:${PORTSDIR}/devel/pcre
 RUN_DEPENDS=	p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser
 
+USES=		pkgconfig
+
 MAN1=		kc.1
 MANCOMPRESSED=	yes
 
@@ -25,6 +26,9 @@ PLIST_FILES=	bin/kc \
 
 MAKE_ENV+=	HAVE_PCRE=yes
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|pkg-config|${LOCALBASE}/bin/pkgconf|' ${WRKSRC}/Makefile
+
 post-install:
 	${INSTALL} -d ${PREFIX}/share/kc
 	${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"