aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-27 22:03:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-27 22:03:16 +0000
commit3546e00b57f4464ebda121458d2cdf463265668d (patch)
tree8f87521740786757b1d9f80c05171189b6eb15b8 /chinese
parent8a1c7a1fdcf951e3437b9203e28ae5512ade62ca (diff)
downloadports-3546e00b57f4464ebda121458d2cdf463265668d.tar.gz
ports-3546e00b57f4464ebda121458d2cdf463265668d.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/chinput3/Makefile6
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}