mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-30 15:33:24 -04:00
25 lines
802 B
Ruby
25 lines
802 B
Ruby
$NetBSD: patch-ext_extconf.rb,v 1.2 2015/06/10 14:47:59 taca Exp $
|
|
|
|
* not using gems in pkgsrc.
|
|
|
|
--- ext/extconf.rb.orig 2012-11-24 17:54:50.000000000 +0000
|
|
+++ ext/extconf.rb
|
|
@@ -5,8 +5,6 @@ type=0, DEBUG
|
|
type=1, RELEASE
|
|
=end
|
|
|
|
-require 'rubygems'
|
|
-
|
|
begin
|
|
require 'mkmf-gnome2'
|
|
require 'gtk2'
|
|
@@ -43,7 +41,7 @@ end
|
|
if check_required_version("libnotify", 0, 7, 0) == true
|
|
if have_library("notify", "notify_init") == true
|
|
$CFLAGS << ' -DDEBUG' if type == 0
|
|
- $CFLAGS << ' -Wall' << " -I#{Config::CONFIG["sitearchdir"]} " << PKGConfig.cflags("libnotify")
|
|
+ $CFLAGS << ' -Wall' << " -I#{RbConfig::CONFIG["sitearchdir"]} " << PKGConfig.cflags("libnotify")
|
|
$LIBS << ' ' << PKGConfig.libs("libnotify")
|
|
check_set_app_name_libnotify
|
|
check_set_notification_name_libnotify
|