Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 18:45:10 +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: r352050 - head/security/xmlsec1
Message-ID:  <201404241845.s3OIjAJ5079412@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Apr 24 18:45:09 2014
New Revision: 352050
URL: http://svnweb.freebsd.org/changeset/ports/352050
QAT: https://qat.redports.org/buildarchive/r352050/

Log:
  - Convert to USES=libtool.
  - Replace post-install with INSTALL_TARGET=install-strip.

Modified:
  head/security/xmlsec1/Makefile

Modified: head/security/xmlsec1/Makefile
==============================================================================
--- head/security/xmlsec1/Makefile	Thu Apr 24 18:42:05 2014	(r352049)
+++ head/security/xmlsec1/Makefile	Thu Apr 24 18:45:09 2014	(r352050)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xmlsec1
 PORTVERSION=	1.2.19
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://www.aleksey.com/xmlsec/download/ \
 		ftp://ftp.aleksey.com/pub/xmlsec/releases/ \
@@ -22,12 +22,13 @@ NSS_DESC=		Enable Mozilla's NSS support
 NSS_CONFIGURE_WITH=	nss="${LOCALBASE}" nspr="${LOCALBASE}"
 NSS_LIB_DEPENDS=	libnss3.so:${PORTSDIR}/security/nss
 
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		libtool:oldver pathfix pkgconfig
 USE_OPENSSL=	yes
-USE_GNOME=	lthack libxml2 libxslt
+USE_GNOME=	libxml2 libxslt
 USE_AUTOTOOLS=	libltdl
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USES=		pkgconfig pathfix
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -48,7 +49,7 @@ post-patch:
 	    -e 's|^confexecdir =.*$$|confexecdir = \$$(sysconfdir)|g' \
 	    -e 's|/tmp/\*\.log|${WRKSRC}/*.log|g' \
 		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e '/objformat=/s|=`[^`]*`|=elf|' \
+	@${REINPLACE_CMD} \
 	    -e '/^XMLSEC_SHLIBSFX="/s|"[^"]*"|".so"|' \
 	    -e 's|openssl_exlibs=-ldl|openssl_exlibs=|' \
 	    -e 's|-ldl"|"|' \
@@ -77,7 +78,4 @@ post-patch:
 		${WRKSRC}/apps/Makefile.in
 .endif
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmlsec1*.so
-
 .include <bsd.port.mk>



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