diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:16 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-28 06:03:16 +0800 |
commit | 56b1878a7040cec07990f62f48472098c23a9243 (patch) | |
tree | 770c24376687ca19708c98687e2a0e1893bcdb92 /chinese | |
parent | f995549048e45b75bfdb88054c7914be39320f8c (diff) | |
download | freebsd-ports-gnome-56b1878a7040cec07990f62f48472098c23a9243.tar.gz freebsd-ports-gnome-56b1878a7040cec07990f62f48472098c23a9243.tar.zst freebsd-ports-gnome-56b1878a7040cec07990f62f48472098c23a9243.zip |
- Respect X11BASE
PR: ports/105896
Submitted by: trasz
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/chinput3/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile index 9adfad2bf27a..dc91e9be2488 100644 --- a/chinese/chinput3/Makefile +++ b/chinese/chinput3/Makefile @@ -18,6 +18,7 @@ LATEST_LINK= zh-chinput3 USE_XLIB= yes USE_GETTEXT= yes USE_GNOME= gtk12 imlib +USE_LDCONFIG= ${PREFIX}/lib/Chinput/im/ PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message @@ -25,7 +26,7 @@ SUB_FILES= pkg-message .include <bsd.port.pre.mk> .if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" +BROKEN= Does not compile on !i386 .endif post-patch: @@ -39,7 +40,8 @@ pre-build: -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \ s|-I/usr/include|-I${LOCALBASE}/include|; \ s|-L/usr/lib|-L${LOCALBASE}/lib|; \ - s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|' + s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|; \ + s|/usr/X11R6|${X11BASE}|' post-install: @${CAT} ${PKGMESSAGE} |