diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-02 01:12:56 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-02 01:12:56 +0800 |
commit | ada1aca5896895d1c3cd16e503dae2d13375b251 (patch) | |
tree | 72b6d64d03d04915f1623c580e340bd1d62878c6 | |
parent | 84c7a7388b38cd4115589efe284680000d3c6f78 (diff) | |
download | marcuscom-ports-ada1aca5896895d1c3cd16e503dae2d13375b251.tar.gz marcuscom-ports-ada1aca5896895d1c3cd16e503dae2d13375b251.tar.zst marcuscom-ports-ada1aca5896895d1c3cd16e503dae2d13375b251.zip |
Correct paths in the pkg-config and mozilla script files.
Reported by: adamw
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2917 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | www/mozilla/Makefile | 6 | ||||
-rw-r--r-- | www/seamonkey/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index a04b3be88..6c74406a1 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.7.3 -PORTREVISION?= 1 +PORTREVISION?= 2 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ @@ -252,6 +252,7 @@ post-patch: ${WRKSRC}/modules/libpref/src/init/all.js @for pcfile in ${PKGCONFIG_FILES}; do \ ${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}${PKGNAMESUFFIX}|g ; \ + s|${FAKEDIR}|${PREFIX}|g ; \ s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}${PKGNAMESUFFIX}|g' \ ${WRKSRC}/build/unix/$${pcfile}.pc.in; \ done @@ -311,6 +312,9 @@ do-install: ${CHMOD} 755 ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA} + ${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \ + ${PREFIX}/lib/${MOZILLA}/mozilla \ + ${PREFIX}/lib/${MOZILLA}/mozilla-config cd ${FAKEDIR}/lib/mozilla && ${FIND} . | \ ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index a04b3be88..6c74406a1 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -7,7 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.7.3 -PORTREVISION?= 1 +PORTREVISION?= 2 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ @@ -252,6 +252,7 @@ post-patch: ${WRKSRC}/modules/libpref/src/init/all.js @for pcfile in ${PKGCONFIG_FILES}; do \ ${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}${PKGNAMESUFFIX}|g ; \ + s|${FAKEDIR}|${PREFIX}|g ; \ s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}${PKGNAMESUFFIX}|g' \ ${WRKSRC}/build/unix/$${pcfile}.pc.in; \ done @@ -311,6 +312,9 @@ do-install: ${CHMOD} 755 ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA} + ${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \ + ${PREFIX}/lib/${MOZILLA}/mozilla \ + ${PREFIX}/lib/${MOZILLA}/mozilla-config cd ${FAKEDIR}/lib/mozilla && ${FIND} . | \ ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA} ${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin |