From 23c7b466a7b28d6464aaf22add6f6f254100218f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 30 Nov 2013 00:17:44 +0000 Subject: [PATCH] - Strip shared library - Fix packaging with pkgng [1] - Cleanup Makefile Reported by: pkg-fallout [1] --- audio/libfishsound/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile index eaa778b0a640..d599d5cca36a 100644 --- a/audio/libfishsound/Makefile +++ b/audio/libfishsound/Makefile @@ -21,15 +21,13 @@ OPTIONS_DEFINE= DOCS DOXYGEN GNU_CONFIGURE= yes USE_LDCONFIG= yes -#NO_STAGE= yes USES= pathfix pkgconfig -PORTDOCS= * - .include .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen +PORTDOCS= * .endif post-patch: @@ -37,4 +35,7 @@ post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in .endif +post-build: + @${STRIP_CMD} ${WRKSRC}/src/libfishsound/.libs/libfishsound.so.4 + .include