diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-14 08:54:54 +0000 |
commit | 0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch) | |
tree | 17937489af4c767844fc63b684ae3e7b31948812 /chinese/chinput3/Makefile | |
parent | e959473966b963953d63d5f00fae8751f2decf0f (diff) | |
download | FreeBSD-ports-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip FreeBSD-ports-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz |
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.
Submitted by: mezz, ahze, pav, and many others
Approved by: portmgr (implicit, kris)
Diffstat (limited to 'chinese/chinput3/Makefile')
-rw-r--r-- | chinese/chinput3/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile index 7f0b532..9adfad2 100644 --- a/chinese/chinput3/Makefile +++ b/chinese/chinput3/Makefile @@ -3,11 +3,11 @@ # Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> # # $FreeBSD$ -# +# $MCom: ports/chinese/chinput3/Makefile,v 1.1 2006/10/04 13:15:20 ahze Exp $ PORTNAME= chinput PORTVERSION= 3.0.2.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= chinese x11 MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/chinput3/ @@ -36,7 +36,10 @@ post-patch: pre-build: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ - -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' + -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|' post-install: @${CAT} ${PKGMESSAGE} |