[44811] trunk/dports/x11/xping/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Jan 2 22:48:17 PST 2009


Revision: 44811
          http://trac.macports.org/changeset/44811
Author:   jeremyhu at macports.org
Date:     2009-01-02 22:48:16 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
xping: update X11 dependencies

Modified Paths:
--------------
    trunk/dports/x11/xping/Portfile

Modified: trunk/dports/x11/xping/Portfile
===================================================================
--- trunk/dports/x11/xping/Portfile	2009-01-03 06:44:02 UTC (rev 44810)
+++ trunk/dports/x11/xping/Portfile	2009-01-03 06:48:16 UTC (rev 44811)
@@ -3,18 +3,21 @@
 
 name		xping
 version		1.9
+revision	1
 categories	x11
 maintainers	nomaintainer
 description	'ping' an Xserver
 long_description	A simple tool to determine if an X11 server is running.
 distfiles	xping.c
-depends_lib	lib:libX11.6:XFree86
+universal_variant no
+depends_lib \
+	lib:libX11.6:xorg-libX11
 
 fetch 		{}
 extract		{ file mkdir ${worksrcpath}
 		  file copy ${filespath}/${distfiles} ${worksrcpath} }
 use_configure	no
 
-build		{ system "cd ${worksrcpath} && cc ${distfiles} -Wall -I${x11prefix}/include -L${x11prefix}/lib -lX11 -o xping" }
+build		{ system "cd ${worksrcpath} && cc ${distfiles} -Wall -I${prefix}/include -I${x11prefix}/include -L${prefix}/lib -L${x11prefix}/lib -lX11 -o xping" }
 
 destroot	{ system "install -m 755 ${worksrcpath}/xping ${destroot}/${prefix}/bin/" }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090102/b076bbe1/attachment.html>


More information about the macports-changes mailing list