diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-02 01:29:21 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-02 01:29:21 +0800 |
commit | 2b103575909899b10ece188412cdc2a09dfb69d6 (patch) | |
tree | fdedc37bb406f0266beee9fa78c4aaa3c554fea1 /chinese/miniChinput | |
parent | b67e89375e2935769a740e6daa93cab4e01ce4e4 (diff) | |
download | freebsd-ports-gnome-2b103575909899b10ece188412cdc2a09dfb69d6.tar.gz freebsd-ports-gnome-2b103575909899b10ece188412cdc2a09dfb69d6.tar.zst freebsd-ports-gnome-2b103575909899b10ece188412cdc2a09dfb69d6.zip |
Fix build with custom LOCALBSE and respect CFLAGS a little more.
Reported by: QATty
Diffstat (limited to 'chinese/miniChinput')
-rw-r--r-- | chinese/miniChinput/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chinese/miniChinput/Makefile b/chinese/miniChinput/Makefile index 16e845c4f124..5f1442a9aabf 100644 --- a/chinese/miniChinput/Makefile +++ b/chinese/miniChinput/Makefile @@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A tiny version of Chinput GNU_CONFIGURE= yes +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_GMAKE= yes USE_ICONV= yes USE_XORG= x11 xt @@ -33,6 +34,10 @@ BROKEN= Build fails on sparc64 post-patch: @${REINPLACE_CMD} -e 's,make,${GMAKE},g' ${WRKSRC}/src/Makefile.in @echo "install:" >> ${WRKSRC}/src/IMdkit/Makefile + @${REINPLACE_CMD} 's,^CFLAGS =,CFLAGS +=,' ${WRKSRC}/ImmModules/cce/Makefile.in \ + ${WRKSRC}/ImmModules/turbo/Makefile.in \ + ${WRKSRC}/src/server/Makefile.in \ + ${WRKSRC}/src/client/Makefile.in @${REINPLACE_CMD} -e 's#$$(prefix)$$(imdir)/{gb,gbk,big5}#$$(prefix)$$(imdir)/gb $$(prefix)$$(imdir)/gbk $$(prefix)$$(imdir)/big5#g' ${WRKSRC}/ImmModules/turbo/Makefile.in @${REINPLACE_CMD} -e 's,-@PACKAGE_VERSION@,,g' ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's,/share/man,/man,g' ${WRKSRC}/configure |