aboutsummaryrefslogtreecommitdiff
path: root/korean
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 /korean
parentb829518a7d432b7cc2546fde7f032238d1db13dc (diff)
downloadports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz
ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip
- 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 'korean')
-rw-r--r--korean/gtkcomm/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/korean/gtkcomm/Makefile b/korean/gtkcomm/Makefile
index dac30f53f9da..1a7233edd4fb 100644
--- a/korean/gtkcomm/Makefile
+++ b/korean/gtkcomm/Makefile
@@ -17,10 +17,9 @@ RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/
USES= perl5 pkgconfig
USE_PERL5= build
USE_GNOME= glib20 gtk20
+USE_XORG= x11
GNU_CONFIGURE= yes
-
-pre-patch:
- ${REINPLACE_CMD} -e 's|-lc_r||; s|DATADIRNAME=lib|DATADIRNAME=share|g' \
- ${WRKSRC}/configure
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib -lX11
.include <bsd.port.mk>