diff options
author | Clive Lin <clive@FreeBSD.org> | 2003-03-01 11:51:09 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2003-03-01 11:51:09 +0000 |
commit | 66aadff2c683f07520ae0b709844c88fbc1f0daa (patch) | |
tree | 9192e06926f0bd4fe8abd9c856f4a3be7d152ee3 /chinese/big5fs/Makefile | |
parent | Version 2.0.2 released with minor updates. (diff) |
Unbreak this port by de __P when needed.
I guess the magic number is about 500041, since it's not documented.
Notes
Notes:
svn path=/head/; revision=76697
Diffstat (limited to '')
-rw-r--r-- | chinese/big5fs/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chinese/big5fs/Makefile b/chinese/big5fs/Makefile index 2e263b48df35..b5b56eadb55a 100644 --- a/chinese/big5fs/Makefile +++ b/chinese/big5fs/Makefile @@ -81,6 +81,13 @@ do-extract: @${CP} ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs/Makefile.orig .endif @(cd ${WRKDIR}; ${TAR} xzf ${DISTDIR}/${DISTFILES} ) +.if ${OSVERSION} > 500041 +# Guess a number when FreeBSD finished de __P + @(cd ${WRKDIR}; ${CP} cd9660_big5.diff cd9660_big5.diff.orig; \ + ${CP} msdos_big5.diff msdos_big5.diff.orig; \ + ${SED} -e 's/ __P(\(.*\))/\1/' msdos_big5.diff.orig > msdos_big5.diff; \ + ${SED} -e 's/ __P(\(.*\))/\1/' cd9660_big5.diff.orig > cd9660_big5.diff) +.endif @${SED} -e 's,@@PREFIX@@,${PREFIX},' ${FILESDIR}/big5fs.sh > ${WRKDIR}/big5fs.sh do-patch: |