Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 14:19:54 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361091 - head/security/libkpass
Message-ID:  <201407071419.s67EJsQn006435@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Jul  7 14:19:54 2014
New Revision: 361091
URL: http://svnweb.freebsd.org/changeset/ports/361091
QAT: https://qat.redports.org/buildarchive/r361091/

Log:
  - New LIB_DEPENDS syntax
  - Add INSTALL_TARGET=install-strip
  - Add USES=libtool
  - Replace CFLAGS/LDFLAGS with CPPFLAGS/LIBS

Modified:
  head/security/libkpass/Makefile

Modified: head/security/libkpass/Makefile
==============================================================================
--- head/security/libkpass/Makefile	Mon Jul  7 14:18:41 2014	(r361090)
+++ head/security/libkpass/Makefile	Mon Jul  7 14:19:54 2014	(r361091)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libkpass
 PORTVERSION=	5
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
 
@@ -11,19 +12,20 @@ COMMENT=	Library for a reading/writing K
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	nettle:${PORTSDIR}/security/nettle
+LIB_DEPENDS=	libnettle.so:${PORTSDIR}/security/nettle
 
 GNU_CONFIGURE=	yes
-USES=		gettext gmake
+INSTALL_TARGET=	install-strip
+USES=		gettext gmake libtool
 USE_LDCONFIG=	yes
-CFLAGS+=	-Dbswap_32=bswap32 -Dbswap_16=bswap16 \
+CPPFLAGS+=	-Dbswap_32=bswap32 -Dbswap_16=bswap16 \
 		-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lintl
+LIBS+=		-L${LOCALBASE}/lib -lintl
 
 PLIST_FILES=	include/kpass.h \
+		lib/libkpass.a \
 		lib/libkpass.so \
 		lib/libkpass.so.1 \
-		lib/libkpass.la \
-		lib/libkpass.a
+		lib/libkpass.so.1.0.0
 
 .include <bsd.port.mk>



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