Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 16:32:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327300 - head/security/kc
Message-ID:  <201309141632.r8EGWvVH033401@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



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