[23898] trunk/dports/x11/xdiskusage
source_changes at macosforge.org
source_changes at macosforge.org
Thu Apr 12 07:29:20 PDT 2007
Revision: 23898
http://trac.macosforge.org/projects/macports/changeset/23898
Author: yves at macports.org
Date: 2007-04-12 07:29:20 -0700 (Thu, 12 Apr 2007)
Log Message:
-----------
revision bump
fix build with new fltk implementation ticket:11765
Modified Paths:
--------------
trunk/dports/x11/xdiskusage/Portfile
Added Paths:
-----------
trunk/dports/x11/xdiskusage/files/
trunk/dports/x11/xdiskusage/files/patch-makeinclude.in
Modified: trunk/dports/x11/xdiskusage/Portfile
===================================================================
--- trunk/dports/x11/xdiskusage/Portfile 2007-04-12 14:14:21 UTC (rev 23897)
+++ trunk/dports/x11/xdiskusage/Portfile 2007-04-12 14:29:20 UTC (rev 23898)
@@ -4,6 +4,7 @@
name xdiskusage
version 1.48
+revision 1
categories x11
platforms darwin
maintainers nomaintainer at macports.org
@@ -16,10 +17,18 @@
checksums md5 a902aa9d73761ade98256c3cd5c1f533
depends_lib lib:libX11.6:XFree86 port:fltk
+
build.args CXXFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
-platform darwin 8 {
- configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+destroot.destdir prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man
+
+platform macosx {
+ depends_lib-delete lib:libX11.6:XFree86
+ configure.args-append --without-x
+ patchfiles-append patch-makeinclude.in
+
+ post-activate {
+ cd ${prefix}/bin
+ system "./fltk-config --post xdiskusage"
+ }
}
-
-destroot.destdir prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man
Added: trunk/dports/x11/xdiskusage/files/patch-makeinclude.in
===================================================================
--- trunk/dports/x11/xdiskusage/files/patch-makeinclude.in (rev 0)
+++ trunk/dports/x11/xdiskusage/files/patch-makeinclude.in 2007-04-12 14:29:20 UTC (rev 23898)
@@ -0,0 +1,10 @@
+--- makeinclude.in.orig 2004-05-05 02:07:57.000000000 -0400
++++ makeinclude.in 2007-04-11 19:41:21.000000000 -0400
+@@ -21,6 +21,6 @@
+ CXXFLAGS_D =@CXXFLAGS_D@
+
+ # libraries to link with:
+-LDLIBS =@LIBS@ -lfltk -lXinerama -lGL -lGLU -lX11 -lXext @X_EXTRA_LIBS@ -lm
++LDLIBS =@LIBS@ -lfltk -framework ApplicationServices -framework Carbon
+
+ INSTALL =@INSTALL@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070412/7bbbe181/attachment.html
More information about the macports-changes
mailing list