diff options
author | clive <clive@FreeBSD.org> | 2003-03-01 19:51:09 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2003-03-01 19:51:09 +0800 |
commit | 65bf8450c8f5bd28a120d3788e0ebf9bd3c4871b (patch) | |
tree | c770f7d38ba2e1fd044d338b7be53ff856e8c38b /chinese/big5fs | |
parent | 48faa0f53aebe9e03ff6a9c4cffbfb10a5c0aba9 (diff) | |
download | freebsd-ports-gnome-65bf8450c8f5bd28a120d3788e0ebf9bd3c4871b.tar.gz freebsd-ports-gnome-65bf8450c8f5bd28a120d3788e0ebf9bd3c4871b.tar.zst freebsd-ports-gnome-65bf8450c8f5bd28a120d3788e0ebf9bd3c4871b.zip |
Unbreak this port by de __P when needed.
I guess the magic number is about 500041, since it's not documented.
Diffstat (limited to 'chinese/big5fs')
-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: |