[41534] trunk/dports/x11/Xaw3d/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Wed Nov 5 11:00:32 PST 2008


Revision: 41534
          http://trac.macports.org/changeset/41534
Author:   mcalhoun at macports.org
Date:     2008-11-05 11:00:31 -0800 (Wed, 05 Nov 2008)
Log Message:
-----------
Xaw3d: use -L${x11prefix}/lib instead of -L/usr/X11R6/lib to link.

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

Modified: trunk/dports/x11/Xaw3d/Portfile
===================================================================
--- trunk/dports/x11/Xaw3d/Portfile	2008-11-05 17:43:28 UTC (rev 41533)
+++ trunk/dports/x11/Xaw3d/Portfile	2008-11-05 19:00:31 UTC (rev 41534)
@@ -27,8 +27,10 @@
 platforms               darwin
 master_sites            freebsd \
                         ftp://ftp.visi.com/users/hawkeyd/X/
-checksums               md5 29ecfdcd6bcf47f62ecfd672d31269a1
-depends_lib             lib:libX11.6:XFree86
+checksums               md5 29ecfdcd6bcf47f62ecfd672d31269a1 \
+                        sha1 efc5b923feda52866c859c59a5b553cb675a69d1 \
+                        rmd160 086cbabaa45ce5c110815aea24eebcbb54613118
+depends_lib             lib:libX11:xorg
 worksrcdir              xc/lib/${name}
 
 patch {
@@ -39,7 +41,7 @@
 use_xmkmf               yes
 
 post-configure {
-    reinplace "s|-o root -g wheel||" ${worksrcpath}/Makefile
+    reinplace "s|-o root -g wheel|-o ${install.user} -g ${install.group}|" ${worksrcpath}/Makefile
 }
 
 use_parallel_build      yes
@@ -47,7 +49,7 @@
 # The Imakefile default is to install everything into /usr/X11R6/lib,
 # which prevents multiple MacPorts installs on the same system.  Have
 # it install the entire package into ${prefix} instead.
-build.target-append     SHLIBGLOBALSFLAGS=-L/usr/X11R6/lib \
+build.target-append     SHLIBGLOBALSFLAGS=-L${x11prefix}/lib \
                         INCDIR=${prefix}/include \
                         SHLIBDIR=${prefix}/lib \
                         USRLIBDIR=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081105/b9ecf925/attachment.html>


More information about the macports-changes mailing list