diff options
author | rafan <rafan@FreeBSD.org> | 2006-11-29 12:24:57 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-11-29 12:24:57 +0800 |
commit | 8fe9c931aab0bcc843eaa93e02fa56bf7fa5c047 (patch) | |
tree | 34214a8825d084ce3b922874c2bb980cfa7289cb /chinese/gcin | |
parent | f7832391c640a6b04ce3942f8f50f8445cc987a1 (diff) | |
download | freebsd-ports-gnome-8fe9c931aab0bcc843eaa93e02fa56bf7fa5c047.tar.gz freebsd-ports-gnome-8fe9c931aab0bcc843eaa93e02fa56bf7fa5c047.tar.zst freebsd-ports-gnome-8fe9c931aab0bcc843eaa93e02fa56bf7fa5c047.zip |
- Respect X11BASE
PR: ports/105955 [1], ports/105957 [2]
Submitted by: rafan [1], chinsan [2] (maintainer)
Approved by: chinsan (maintainer)
Diffstat (limited to 'chinese/gcin')
-rw-r--r-- | chinese/gcin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index ae04e55b91d4..0266ada01f43 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -54,12 +54,18 @@ pre-patch: @${REINPLACE_CMD} -e 's,qsort,mergesort,' ${WRKSRC}/gcin2tab.c @${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \ ${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile + @${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib,' ${WRKSRC}/qt-im/Makefile @${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile - @${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \ + @${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s,/opt/gnome,${X11BASE},;' \ ${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup @${REINPLACE_CMD} -e 's,wget,fetch,' ${WRKSRC}/scripts/noseeing-inst @${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \ ${WRKSRC}/gtk-im/gtkimcontextgcin.c + @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \ + ${WRKSRC}/IMdkit/lib/Makefile \ + ${WRKSRC}/IMdkit/Xi18n_sample/Makefile ${WRKSRC}/Makefile \ + ${WRKSRC}/qt-im/Makefile ${WRKSRC}/scripts/modify-XIM \ + ${WRKSRC}/scripts/utf8-edit .if defined(WITH_BOSHIAMY) post-patch: |