diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-11-29 04:24:57 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-11-29 04:24:57 +0000 |
commit | 4ae9576839cc3b9d4023275f9894e531a0df0702 (patch) | |
tree | f14d180012fa55ce07ba820fe592e65372dc17a4 /chinese/gcin-devel | |
parent | a8a6d457c703f6a7a2fa58a0114eb6ae8ca0f5f7 (diff) | |
download | ports-4ae9576839cc3b9d4023275f9894e531a0df0702.tar.gz ports-4ae9576839cc3b9d4023275f9894e531a0df0702.zip |
- Respect X11BASE
PR: ports/105955 [1], ports/105957 [2]
Submitted by: rafan [1], chinsan [2] (maintainer)
Approved by: chinsan (maintainer)
Notes
Notes:
svn path=/head/; revision=178228
Diffstat (limited to 'chinese/gcin-devel')
-rw-r--r-- | chinese/gcin-devel/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile index ae04e55b91d4..0266ada01f43 100644 --- a/chinese/gcin-devel/Makefile +++ b/chinese/gcin-devel/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: |