1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Revert previous change and add a dummy PLATFORM

Reported by:	QAT
Pointy hat to:	pav
This commit is contained in:
Pav Lucistnik 2010-05-21 07:34:25 +00:00
parent ab550ee1d0
commit c6d4804df4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254696
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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