Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 23:07:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360307 - head/dns/idnkit
Message-ID:  <201407022307.s62N7mbE052226@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jul  2 23:07:48 2014
New Revision: 360307
URL: http://svnweb.freebsd.org/changeset/ports/360307
QAT: https://qat.redports.org/buildarchive/r360307/

Log:
  - Switch to USES=libtool, drop .la files
  - Strip libraries

Modified:
  head/dns/idnkit/Makefile
  head/dns/idnkit/pkg-plist

Modified: head/dns/idnkit/Makefile
==============================================================================
--- head/dns/idnkit/Makefile	Wed Jul  2 22:43:25 2014	(r360306)
+++ head/dns/idnkit/Makefile	Wed Jul  2 23:07:48 2014	(r360307)
@@ -3,7 +3,7 @@
 
 PORTNAME=	idnkit
 PORTVERSION=	1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	dns
 MASTER_SITES=	http://www.nic.ad.jp/ja/idn/idnkit/download/sources/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -11,12 +11,12 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library to handle internationalized domain names
 
-USE_AUTOTOOLS=	libtool
-USES=		iconv
+USES=		iconv libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE} \
 		--enable-runidn \
 		--enable-extra-ace
+SHAREMODE=	644 # needed for libtool which runs ranlib on install
 
 USE_LDCONFIG=	yes
 
@@ -27,11 +27,10 @@ post-patch:
 		's|mode=link $$(LD)|mode=link $$(CC)|'
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/tools/runidn/libidnkitres.la \
-		${STAGEDIR}${PREFIX}/lib
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
 	(cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog NEWS README \
 		${STAGEDIR}${DOCSDIR})
 	${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
 
 .include <bsd.port.mk>

Modified: head/dns/idnkit/pkg-plist
==============================================================================
--- head/dns/idnkit/pkg-plist	Wed Jul  2 22:43:25 2014	(r360306)
+++ head/dns/idnkit/pkg-plist	Wed Jul  2 23:07:48 2014	(r360307)
@@ -38,17 +38,17 @@ include/idn/util.h
 include/idn/version.h
 @dirrm include/idn
 lib/libidnkit.a
-lib/libidnkit.la
 lib/libidnkit.so
 lib/libidnkit.so.1
+lib/libidnkit.so.1.0.2
 lib/libidnkitlite.a
-lib/libidnkitlite.la
 lib/libidnkitlite.so
 lib/libidnkitlite.so.1
+lib/libidnkitlite.so.1.0.2
 lib/libidnkitres.a
-lib/libidnkitres.la
 lib/libidnkitres.so
 lib/libidnkitres.so.1
+lib/libidnkitres.so.1.0.1
 man/man1/idnconv.1.gz
 man/man1/runidn.1.gz
 man/man3/libidnkit.3.gz



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