freebsd-ports/devel/ruby-ecore/files/patch-Rakefile
Stanislav Sedov ee774b0f4f - Move to LOCALBASE
- Use new EFL framework
- Update all e17 ports to the lates stable cvs snapshot
- Add additional knobs/options to ports makefiles to control the
  feature set
- Add a bunch of new e17 applications/libraries
- Minor improvements/modification.

Approved by:	vanilla (old maintainer), sem (mentor)
2006-10-08 13:48:37 +00:00

17 lines
578 B
Text

--- Rakefile.orig Sun Oct 8 11:05:35 2006
+++ Rakefile Sun Oct 8 11:06:20 2006
@@ -18,12 +18,12 @@
ext_libs.each do |lib|
file lib.so => lib.objects do |t|
- sh "cc #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
+ sh "cc -L%%X11BASE%%/lib #{lib.ldflags} #{t.prerequisites.join(" ")} -o #{t.name}"
end
lib.objects.each do |object|
file object => object.sub(/\.[^.]+$/, ".c") do |t|
- sh "cc #{lib.cflags} #{t.prerequisites.first} " +
+ sh "cc -I%%X11BASE%%/include #{lib.cflags} #{t.prerequisites.first} " +
"-c -o #{t.name}"
end
end