summaryrefslogtreecommitdiff
path: root/graphics/ruby-gl/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-gl/patches/patch-aa')
-rw-r--r--graphics/ruby-gl/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/ruby-gl/patches/patch-aa b/graphics/ruby-gl/patches/patch-aa
new file mode 100644
index 00000000000..262959d17f9
--- /dev/null
+++ b/graphics/ruby-gl/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/04/03 15:35:41 sakamoto Exp $
+
+--- extconf.rb.orig Wed Feb 16 01:31:59 2000
++++ extconf.rb Sat Mar 25 02:46:02 2000
+@@ -27,6 +27,6 @@
+ glut_libname = "glut"
+ else
+- $CFLAGS="-I/usr/local/include -I. -I/usr/X11R6/include"
+- $LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib"
++ $CFLAGS="-I#{ENV['LOCALBASE']}/include -I. -I#{ENV['X11BASE']}/include"
++ $LDFLAGS="-L#{ENV['LOCALBASE']}/lib -R#{ENV['LOCALBASE']}/lib -L#{ENV['X11BASE']}/lib -R#{ENV['X11BASE']}/lib"
+ $libs = append_library($libs, "Xmu")
+ $libs = append_library($libs, "X11")