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

source_changes at macosforge.org source_changes at macosforge.org
Sun Jul 15 14:22:58 PDT 2007


Revision: 27015
          http://trac.macosforge.org/projects/macports/changeset/27015
Author:   blair at macports.org
Date:     2007-07-15 14:22:58 -0700 (Sun, 15 Jul 2007)

Log Message:
-----------
For Xaw3d, 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.

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

Modified: trunk/dports/x11/Xaw3d/Portfile
===================================================================
--- trunk/dports/x11/Xaw3d/Portfile	2007-07-15 20:49:24 UTC (rev 27014)
+++ trunk/dports/x11/Xaw3d/Portfile	2007-07-15 21:22:58 UTC (rev 27015)
@@ -3,6 +3,7 @@
 PortSystem       1.0
 name             Xaw3d
 version          1.5E
+revision         1
 categories       x11
 maintainers      nomaintainer at macports.org
 description      The Three-D Athena Toolkit
@@ -29,3 +30,15 @@
     system "ln -fs .. ${worksrcpath}/X11/Xaw3d"
 }
 use_xmkmf        yes
+
+# 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 \
+			INCDIR=${prefix}/include \
+			SHLIBDIR=${prefix}/lib \
+			USRLIBDIR=${prefix}/lib
+
+destroot.destdir-append	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/20070715/3e65a2aa/attachment.html


More information about the macports-changes mailing list