Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 13:50:15 +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: r362906 - head/devel/ossp-cfg
Message-ID:  <201407251350.s6PDoFYg054660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jul 25 13:50:14 2014
New Revision: 362906
URL: http://svnweb.freebsd.org/changeset/ports/362906
QAT: https://qat.redports.org/buildarchive/r362906/

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

Modified:
  head/devel/ossp-cfg/Makefile
  head/devel/ossp-cfg/pkg-plist

Modified: head/devel/ossp-cfg/Makefile
==============================================================================
--- head/devel/ossp-cfg/Makefile	Fri Jul 25 13:49:40 2014	(r362905)
+++ head/devel/ossp-cfg/Makefile	Fri Jul 25 13:50:14 2014	(r362906)
@@ -3,9 +3,9 @@
 
 PORTNAME=	cfg
 PORTVERSION=	0.9.11
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR=	lib/${PORTNAME}
+MASTER_SITES=	OSSP/lib/${PORTNAME}
 PKGNAMEPREFIX=	ossp-
 
 MAINTAINER=	ports@FreeBSD.org
@@ -13,6 +13,7 @@ COMMENT=	Library for parsing arbitrary C
 
 LIB_DEPENDS=	libex.so:${PORTSDIR}/devel/ossp-ex
 
+USES=		libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ex=${LOCALBASE}
 USE_LDCONFIG=	yes
@@ -20,4 +21,7 @@ USE_LDCONFIG=	yes
 check:	build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcfg.so
+
 .include <bsd.port.mk>

Modified: head/devel/ossp-cfg/pkg-plist
==============================================================================
--- head/devel/ossp-cfg/pkg-plist	Fri Jul 25 13:49:40 2014	(r362905)
+++ head/devel/ossp-cfg/pkg-plist	Fri Jul 25 13:50:14 2014	(r362906)
@@ -1,7 +1,7 @@
 bin/cfg-config
 include/cfg.h
 lib/libcfg.a
-lib/libcfg.la
 lib/libcfg.so
 lib/libcfg.so.9
+lib/libcfg.so.9.0.31
 man/man3/cfg.3.gz



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