diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-05-15 15:32:19 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-05-15 15:32:19 +0000 |
commit | 762c749fe1087906e594a0858458abf556cb905e (patch) | |
tree | 333194deec6df509e92342d0d60938b52dc927df /chinese | |
parent | 5f26b865a749514c6b2c730d8364a5b0c45aca21 (diff) | |
download | ports-762c749fe1087906e594a0858458abf556cb905e.tar.gz ports-762c749fe1087906e594a0858458abf556cb905e.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/chinput3/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile index 85c513667670..043a9ab7f1c9 100644 --- a/chinese/chinput3/Makefile +++ b/chinese/chinput3/Makefile @@ -17,16 +17,21 @@ COMMENT= Chinese GB2312,BIG5 code input server LATEST_LINK= zh-chinput3 USE_XLIB= yes USE_GNOME= gtk12 imlib +USE_REINPLACE= yes MSG_FILE= ${.CURDIR}/pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" +.if ${ARCH} == "alpha" && ${OSVERSION} < 500000 +BROKEN= "Does not compile on FreeBSD-4.x/Alpha" .endif +pre-build: + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ + -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' + post-install: @${SED} -e 's,%%X11BASE%%,${X11BASE},g' ${MSG_FILE} > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} |