From 0fc3cef89261d83139010407ece3d835e9cdc74b Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Jul 2014 13:50:28 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files - Strip libraries --- devel/ossp-ex/Makefile | 9 ++++++--- devel/ossp-ex/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/devel/ossp-ex/Makefile b/devel/ossp-ex/Makefile index 49711d4ac438..fbe6bc95842b 100644 --- a/devel/ossp-ex/Makefile +++ b/devel/ossp-ex/Makefile @@ -3,19 +3,22 @@ PORTNAME= ex PORTVERSION= 1.0.6 +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 COMMENT= OSSP ex is a small exception handling library for use in C -USES= gmake +USES= gmake libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes check: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libex.so + .include diff --git a/devel/ossp-ex/pkg-plist b/devel/ossp-ex/pkg-plist index b8abd5221082..c98a22420af4 100644 --- a/devel/ossp-ex/pkg-plist +++ b/devel/ossp-ex/pkg-plist @@ -1,7 +1,7 @@ bin/ex-config include/ex.h lib/libex.a -lib/libex.la lib/libex.so lib/libex.so.10 +lib/libex.so.10.0.26 man/man3/ex.3.gz