summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-26 14:06:08 +0000
commit216b5a285fdcc1456a307fcc60f3507c20d613eb (patch)
treed0c8617b772b8f0a175d436d938b8d844590b41f /japanese
parentnet/openh323: conflicts with h323plus (diff)
- Fix missing library problems when the linker enforces explicit linking
PR: 192062 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=366215
Diffstat (limited to 'japanese')
-rw-r--r--japanese/im-ja/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/japanese/im-ja/Makefile b/japanese/im-ja/Makefile
index 970b4fec3f69..8294731b9b16 100644
--- a/japanese/im-ja/Makefile
+++ b/japanese/im-ja/Makefile
@@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --disable-gnome
GCONF_SCHEMAS= im-ja.schemas
CPPFLAGS+= -I${LOCALBASE}/include -DNO_MALLOC_H
-LDFLAGS+= -L${LOCALBASE}/lib
+LIBS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
@@ -57,5 +57,13 @@ post-patch:
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH}
@${REINPLACE_CMD} -e 's|$$(datadir)/gconf|$$(sysconfdir)/gconf|g' \
${WRKSRC}/data/Makefile.in
+ @${REINPLACE_CMD} '/^im_ja_la_LIBADD =/s/$$/ -lm/' \
+ ${WRKSRC}/src/gtk/Makefile.in
+ @${REINPLACE_CMD} '/^im_ja_helper_LDADD =/s/$$/ -lX11/' \
+ ${WRKSRC}/src/helper/Makefile.in
+ @${REINPLACE_CMD} '/^im_ja_le_la_LIBADD =/s/$$/ -lm/' \
+ ${WRKSRC}/src/iiimf/Makefile.in
+ @${REINPLACE_CMD} '/^im_ja_xim_server_LDADD =/s/$$/ -lm/' \
+ ${WRKSRC}/src/xim/Makefile.in
.include <bsd.port.mk>