diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-04-05 09:46:28 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-04-05 09:46:28 +0800 |
commit | 70bf8f5ddb9eccd0ec98820fa61062af566a0e11 (patch) | |
tree | 5e9ad89db3827ef817c627c81886a08ee34072ba /chinese | |
parent | ebaf14f268e78d343c70fc02d3b1d49df2a35645 (diff) | |
download | freebsd-ports-gnome-70bf8f5ddb9eccd0ec98820fa61062af566a0e11.tar.gz freebsd-ports-gnome-70bf8f5ddb9eccd0ec98820fa61062af566a0e11.tar.zst freebsd-ports-gnome-70bf8f5ddb9eccd0ec98820fa61062af566a0e11.zip |
patch for broken LC_CTYPE
PR: 65062
Submitted by: maintainer
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/mldonkey-core/Makefile | 10 | ||||
-rw-r--r-- | chinese/mldonkey-core/files/wrapper-prefix | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/chinese/mldonkey-core/Makefile b/chinese/mldonkey-core/Makefile index e60bd3fa4bf5..c4ab3152e175 100644 --- a/chinese/mldonkey-core/Makefile +++ b/chinese/mldonkey-core/Makefile @@ -17,6 +17,16 @@ WITHOUT_GUI= yes MASTERDIR= ${.CURDIR}/../../net/mldonkey EXTRA_PATCHES= ${.CURDIR}/files/patch-driverControlers.ml +WRAPPERPREFIX= ${.CURDIR}/files/wrapper-prefix +WRAPPER= ${WRKDIR}/wrapper.sh + +# build our own wrapper script +post-patch-script: + @${MV} -f ${WRAPPER} ${WRAPPER}.orig + @${CAT} ${WRAPPERPREFIX} ${WRAPPER}.orig > ${WRAPPER} + .include "${MASTERDIR}/Makefile" +# I know this will lead portlint to fail, +# but we have to do so. PKGNAMEPREFIX:= ${PKGNAMEPREFIX}tw- diff --git a/chinese/mldonkey-core/files/wrapper-prefix b/chinese/mldonkey-core/files/wrapper-prefix new file mode 100644 index 000000000000..3c32d53ad7ea --- /dev/null +++ b/chinese/mldonkey-core/files/wrapper-prefix @@ -0,0 +1,6 @@ +#!/bin/sh +# Force printing non-quote(escaped) instead of \xxx + +LC_CTYPE=en_US.ISO8859-1 +export LC_CTYPE + |