diff options
Diffstat (limited to 'chinese/mldonkey-core/Makefile')
-rw-r--r-- | chinese/mldonkey-core/Makefile | 10 |
1 files changed, 10 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- |