diff options
-rw-r--r-- | lang/sun-jre14/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile index 395e369e148..dd6222a3c99 100644 --- a/lang/sun-jre14/Makefile +++ b/lang/sun-jre14/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2005/10/03 21:36:59 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2005/10/11 15:49:48 tv Exp $ # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce @@ -49,6 +49,8 @@ do-configure: cd ${WRKSRC}/lib; for file in ${SFILES}; do \ ${MV} -f $$file $$file.default; \ done + +pre-install: .if !empty(PKG_OPTIONS:Msun-jre-jce) cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security ${SED} 's/@SUN_JRE14_USE_JCE@//' ${PKGDIR}/PLIST > ${PLIST_SRC} |