diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile index 5f11e77c5d35..37e7819e3816 100644 --- a/databases/p5-BerkeleyDB/Makefile +++ b/databases/p5-BerkeleyDB/Makefile @@ -3,6 +3,7 @@ PORTNAME= BerkeleyDB PORTVERSION= 0.55 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -17,8 +18,8 @@ TEST_DEPENDS= p5-MLDBM>=0:${PORTSDIR}/databases/p5-MLDBM \ p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod USES= perl5 shebangfix +USE_BDB= yes USE_PERL5= configure -USE_BDB= 47+ SHEBANG_FILES= mkconsts.pl @@ -27,4 +28,7 @@ post-patch: @${ECHO} "LIB = ${LOCALBASE}/lib" >> ${WRKSRC}/config.in @${ECHO} "DBNAME = -l${BDB_LIB_NAME}" >> ${WRKSRC}/config.in +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/BerkeleyDB/BerkeleyDB.so + .include