diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-08 02:07:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-08 02:07:59 +0800 |
commit | e6c6aaf2e7dc66e263616fb134504b7a18685454 (patch) | |
tree | f666f7dd31ab1da1376cfaee1b8e9624884680f0 | |
parent | 696e88560c8a8861a2392631c27ef00bbd380d89 (diff) | |
download | freebsd-ports-gnome-e6c6aaf2e7dc66e263616fb134504b7a18685454.tar.gz freebsd-ports-gnome-e6c6aaf2e7dc66e263616fb134504b7a18685454.tar.zst freebsd-ports-gnome-e6c6aaf2e7dc66e263616fb134504b7a18685454.zip |
- Convert to USES=libtool
- Strip libraries
- Make regression-test target depend on build
-rw-r--r-- | devel/pire/Makefile | 9 | ||||
-rw-r--r-- | devel/pire/pkg-plist | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/devel/pire/Makefile b/devel/pire/Makefile index a04d99f25a42..9a14f9b9c15f 100644 --- a/devel/pire/Makefile +++ b/devel/pire/Makefile @@ -15,9 +15,9 @@ GH_COMMIT= 012bedf LICENSE= LGPL3 -USE_AUTOTOOLS= autoconf automake libtool libtoolize +USE_AUTOTOOLS= autoconf automake libtoolize GNU_CONFIGURE= yes -USES= gmake bison +USES= gmake bison libtool USE_LDCONFIG= yes ONLY_FOR_ARCHS= amd64 i386 ia64 @@ -28,6 +28,9 @@ UNITTEST_DESC= Compile with unittest support .include <bsd.port.options.mk> +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpire*.so + run-autotools: @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -fi @@ -35,7 +38,7 @@ run-autotools: BUILD_DEPENDS+= cppunit-config:${PORTSDIR}/devel/cppunit CONFIGURE_ARGS= --with-cppunit-prefix=${LOCALBASE} -regression-test: +regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check || \ (${CAT} ${WRKSRC}/tests/test-suite.log; false) .endif diff --git a/devel/pire/pkg-plist b/devel/pire/pkg-plist index f0a1f18abd85..881ee4b772a5 100644 --- a/devel/pire/pkg-plist +++ b/devel/pire/pkg-plist @@ -32,13 +32,13 @@ include/pire/stub/singleton.h include/pire/stub/stl.h include/pire/vbitset.h lib/libpire.a -lib/libpire.la lib/libpire.so lib/libpire.so.0 +lib/libpire.so.0.0.0 lib/libpire_unit.a -lib/libpire_unit.la lib/libpire_unit.so lib/libpire_unit.so.0 -@dirrm include/pire/stub +lib/libpire_unit.so.0.0.0 @dirrm include/pire/scanners +@dirrm include/pire/stub @dirrm include/pire |