diff options
author | lofi <lofi@FreeBSD.org> | 2004-05-15 15:32:19 +0000 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-05-15 15:32:19 +0000 |
commit | d1d158ec9d0b0e69eb699bbd34f61a2e16d5b448 (patch) | |
tree | 0c5ad6e524b175897d5c3f5cd6e441e1be839c58 /chinese/chinput3/Makefile | |
parent | 3e639e6a661ee65de5bfc4f1ac76238401deb24b (diff) | |
download | FreeBSD-ports-d1d158ec9d0b0e69eb699bbd34f61a2e16d5b448.zip FreeBSD-ports-d1d158ec9d0b0e69eb699bbd34f61a2e16d5b448.tar.gz |
Respect PTHREAD_{CFLAGS,LIBS}, unmark FORBIDDEN, mark BROKEN on 4.x/Alpha
Diffstat (limited to 'chinese/chinput3/Makefile')
-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 85c5136..043a9ab 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} |