mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
e6cc215bad
gtk, gdk_imlib, and gdk_pixbuf modules. The last three modules will be provided as separate ports.
19 lines
748 B
Ruby
19 lines
748 B
Ruby
--- extconf.rb.orig Sat Sep 23 06:00:02 2000
|
|
+++ extconf.rb Wed Feb 28 20:59:59 2001
|
|
@@ -21,11 +21,12 @@
|
|
config_library = "gnomeui"
|
|
version = `#{config_cmd} --version`
|
|
if not version.chomp.empty? then
|
|
- $LDFLAGS, *libs =
|
|
+ ldflags, *libs =
|
|
`#{config_cmd} #{config_libs} #{config_library}`.chomp.split(/(-l.*)/)
|
|
+ $LDFLAGS += ldflags
|
|
$libs = libs.join(' ') + ' ' + $libs
|
|
- $CFLAGS = `#{config_cmd} #{config_cflags} #{config_library}`.chomp
|
|
- $CFLAGS = $CFLAGS + " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib"
|
|
+ $CFLAGS += `#{config_cmd} #{config_cflags} #{config_library}`.chomp
|
|
+ $CFLAGS += " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib"
|
|
else
|
|
raise "can't find a config command"
|
|
end
|