diff --git a/www/mod_perl/Makefile b/www/mod_perl/Makefile index e369ec38780b..2dbb3a91fc6f 100644 --- a/www/mod_perl/Makefile +++ b/www/mod_perl/Makefile @@ -56,6 +56,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \ ${PREFIX}/include/apache/modules/perl ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} POST-INSTALL + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile index e369ec38780b..2dbb3a91fc6f 100644 --- a/www/mod_perl2/Makefile +++ b/www/mod_perl2/Makefile @@ -56,6 +56,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \ ${PREFIX}/include/apache/modules/perl ${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache - @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} POST-INSTALL + @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include