summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-11-01 19:35:00 +0000
committertron <tron@pkgsrc.org>2014-11-01 19:35:00 +0000
commite04aa130d5bb51eb9469869192e2f04eb3be2c43 (patch)
tree136625a9a193e650f82a600d0dad401444e66ced /x11
parent1140d3969c1897272a1ba3e2d487877db89c59cc (diff)
downloadpkgsrc-e04aa130d5bb51eb9469869192e2f04eb3be2c43.tar.gz
Pullup ticket #4532 - requested by taca
x11/ruby-tk: bug fix patch Revisions pulled up: - x11/ruby-tk/Makefile 1.44 --- Module Name: pkgsrc Committed By: taca Date: Mon Oct 27 13:22:51 UTC 2014 Modified Files: pkgsrc/x11/ruby-tk: Makefile Log Message: Add a simple work around to link correctly xlib on X11_TYPE is "native" case.
Diffstat (limited to 'x11')
-rw-r--r--x11/ruby-tk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/ruby-tk/Makefile b/x11/ruby-tk/Makefile
index 281da18c195..e566f7485a6 100644
--- a/x11/ruby-tk/Makefile
+++ b/x11/ruby-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2014/03/10 14:23:51 taca Exp $
+# $NetBSD: Makefile,v 1.43.6.1 2014/11/01 19:35:00 tron Exp $
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
@@ -17,7 +17,8 @@ USE_RUBY_EXTCONF= yes
RUBY_EXTCONF_SUBDIRS= . tkutil
EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/tk
WRKSRC= ${RUBY_WRKSRC}/ext/tk
-CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q}
+CONFIGURE_ARGS+= --with-X11-dir=${X11BASE:Q} \
+ --with-X11-lib=${BUILDLINK_PREFIX.libX11}/lib
REPLACE_RUBY= lib/tkextlib/pkg_checker.rb
REPLACE_RUBY_DIRS= sample