summaryrefslogtreecommitdiff
path: root/devel/cppunit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cppunit/Makefile')
-rw-r--r--devel/cppunit/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/cppunit/Makefile b/devel/cppunit/Makefile
index d3cb12b46b9..1ccd8aa500c 100644
--- a/devel/cppunit/Makefile
+++ b/devel/cppunit/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2010/06/11 23:20:07 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2010/10/16 15:25:09 wiz Exp $
#
-DISTNAME= cppunit-1.10.2
-PKGREVISION= 12
+DISTNAME= cppunit-1.12.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppunit/}
@@ -20,4 +19,12 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE= cppunit.pc.in
+
+SUBST_CLASSES+= rpath
+SUBST_SED.rpath= -e s';-L@libdir@;${COMPILER_RPATH_FLAG}@libdir@ -L@libdir@;g'
+SUBST_FILES.rpath= cppunit-config.in
+SUBST_STAGE.rpath= pre-configure
+SUBST_MESSAGE.rpath= Adding rpath to cppunit-config.
+
.include "../../mk/bsd.pkg.mk"