aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-05-21 15:34:25 +0800
committerpav <pav@FreeBSD.org>2010-05-21 15:34:25 +0800
commit61d757fcd554a6f8d7801a78008d007341c9708d (patch)
tree825b17a64909b0c95192d57bdfb4cad2c2b56433 /www
parent713c8a3747217b8418d03961b6e7d7f8bda9a4ac (diff)
downloadfreebsd-ports-graphics-61d757fcd554a6f8d7801a78008d007341c9708d.tar.gz
freebsd-ports-graphics-61d757fcd554a6f8d7801a78008d007341c9708d.tar.zst
freebsd-ports-graphics-61d757fcd554a6f8d7801a78008d007341c9708d.zip
- Revert previous change and add a dummy PLATFORM
Reported by: QAT Pointy hat to: pav
Diffstat (limited to 'www')
-rw-r--r--www/firefox-sync/Makefile3
-rw-r--r--www/weave/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/www/firefox-sync/Makefile b/www/firefox-sync/Makefile
index 6849b09694b..f0ccc4f952c 100644
--- a/www/firefox-sync/Makefile
+++ b/www/firefox-sync/Makefile
@@ -43,6 +43,7 @@ PLATFORM= FreeBSD_x86-gcc3
.elif ${ARCH} == amd64
PLATFORM= FreeBSD_${AMD64_ARCH}-gcc3
.else
+PLATFORM= dummy
IGNORE= unsupported platform
.endif
@@ -59,7 +60,7 @@ PLIST_SUB+= XPI_XPIDIR="${XPI_DIR:S,^${PREFIX}/,,}" \
post-patch:
@${REINPLACE_CMD} -e "s|\$$(shell hg tip --template '{node\|short}')|${REVID}|g" ${WRKSRC}/Makefile
-.if ${ARCH} == amd64
+.if ${PLATFORM} == FreeBSD_x86_64-gcc3
${REINPLACE_CMD} -e 's|arch = amd64|arch = x86_64|g' ${WRKSRC}/crypto-obsolete/src/Makefile
.endif
diff --git a/www/weave/Makefile b/www/weave/Makefile
index 6849b09694b..f0ccc4f952c 100644
--- a/www/weave/Makefile
+++ b/www/weave/Makefile
@@ -43,6 +43,7 @@ PLATFORM= FreeBSD_x86-gcc3
.elif ${ARCH} == amd64
PLATFORM= FreeBSD_${AMD64_ARCH}-gcc3
.else
+PLATFORM= dummy
IGNORE= unsupported platform
.endif
@@ -59,7 +60,7 @@ PLIST_SUB+= XPI_XPIDIR="${XPI_DIR:S,^${PREFIX}/,,}" \
post-patch:
@${REINPLACE_CMD} -e "s|\$$(shell hg tip --template '{node\|short}')|${REVID}|g" ${WRKSRC}/Makefile
-.if ${ARCH} == amd64
+.if ${PLATFORM} == FreeBSD_x86_64-gcc3
${REINPLACE_CMD} -e 's|arch = amd64|arch = x86_64|g' ${WRKSRC}/crypto-obsolete/src/Makefile
.endif