aboutsummaryrefslogtreecommitdiffstats
path: root/www/mozilla
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-13 00:45:45 +0800
committermarcus <marcus@FreeBSD.org>2004-10-13 00:45:45 +0800
commit2066300943a7374929857dc3339d9f603160f097 (patch)
treef13378471dee8881150b736b74029db917fff80d /www/mozilla
parentc0a97ebe3054384a3b350985326ad679e9714ab2 (diff)
downloadfreebsd-ports-gnome-2066300943a7374929857dc3339d9f603160f097.tar.gz
freebsd-ports-gnome-2066300943a7374929857dc3339d9f603160f097.tar.zst
freebsd-ports-gnome-2066300943a7374929857dc3339d9f603160f097.zip
Fix a bug with installation. Somehow I forgot to do the install step
during pre-install. This patch was taken from mozilla-devel. PR: 72571
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index f7685abca3f9..bedffa007b30 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -272,6 +272,8 @@ post-build:
pre-install:
${RM} -rf ${PLIST} ${FAKEDIR}
${TOUCH} -f ${PLIST}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
+ Makefile ${MAKE_ARGS} install
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
${ECHO_CMD} bin/mozilla >> ${PLIST} ; \
fi
@@ -289,7 +291,7 @@ pre-install:
fi
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
- cd ${FAKEDIR}/lib/mozilla && ${FIND} -s * -type f -o -type l | \
+ cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:lib/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm lib/${MOZILLA}/:' >> ${PLIST}
@@ -297,7 +299,7 @@ pre-install:
for pcfile in ${PKGCONFIG_FILES}; do \
${ECHO_CMD} libdata/pkgconfig/$${pcfile}${MOZ_SUFX}${PKGNAMESUFFIX}.pc >> ${PLIST} ; \
done
- cd ${FAKEDIR}/include/mozilla && ${FIND} -s * -type f -o -type l | \
+ cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:include/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm include/${MOZILLA}/:' >> ${PLIST}
@@ -311,7 +313,7 @@ do-install:
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
${PREFIX}/lib/${MOZILLA}/mozilla \
${PREFIX}/lib/${MOZILLA}/mozilla-config
- cd ${FAKEDIR}/lib/mozilla && ${FIND} . | \
+ cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA}
${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
@@ -338,7 +340,7 @@ do-install:
-${RM} -fr ${PREFIX}/include/${MOZILLA}
${MKDIR} ${PREFIX}/include/${MOZILLA}
${CHMOD} 755 ${PREFIX}/include/${MOZILLA}
- cd ${FAKEDIR}/include/mozilla && ${FIND} . | \
+ cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${MOZILLA}
post-install: