[38387] trunk/dports/lang/llvm

ryandesign at macports.org ryandesign at macports.org
Fri Jul 18 03:19:18 PDT 2008


Revision: 38387
          http://trac.macosforge.org/projects/macports/changeset/38387
Author:   ryandesign at macports.org
Date:     2008-07-18 03:19:18 -0700 (Fri, 18 Jul 2008)
Log Message:
-----------
llvm: fix mtree violation by documentation directory; closes #15724

Modified Paths:
--------------
    trunk/dports/lang/llvm/Portfile

Added Paths:
-----------
    trunk/dports/lang/llvm/files/
    trunk/dports/lang/llvm/files/patch-Makefile.config.in.diff

Modified: trunk/dports/lang/llvm/Portfile
===================================================================
--- trunk/dports/lang/llvm/Portfile	2008-07-18 10:12:49 UTC (rev 38386)
+++ trunk/dports/lang/llvm/Portfile	2008-07-18 10:19:18 UTC (rev 38387)
@@ -4,6 +4,7 @@
 
 name                    llvm
 version                 2.3
+revision                1
 categories              lang
 platforms               darwin
 use_parallel_build      yes
@@ -24,12 +25,16 @@
 depends_build           bin:flex:flex \
                         bin:bison:bison
 
-worksrcdir              build
+configure.dir           ${workpath}/build
+build.dir               ${configure.dir}
+destroot.dir            ${configure.dir}
 
 post-extract {
-    file mkdir ${workpath}/build
+    file mkdir ${configure.dir}
 }
 
+patchfiles              patch-Makefile.config.in.diff
+
 configure.cppflags
 configure.ldflags
 configure.cmd           ../llvm-${version}/configure

Added: trunk/dports/lang/llvm/files/patch-Makefile.config.in.diff
===================================================================
--- trunk/dports/lang/llvm/files/patch-Makefile.config.in.diff	                        (rev 0)
+++ trunk/dports/lang/llvm/files/patch-Makefile.config.in.diff	2008-07-18 10:19:18 UTC (rev 38387)
@@ -0,0 +1,11 @@
+--- Makefile.config.in 2008-07-18 04:49:36.000000000 -0500
++++ Makefile.config.in 2008-07-18 04:49:46.000000000 -0500
+@@ -79,7 +79,7 @@
+ PROJ_bindir     := $(DESTDIR)$(PROJ_prefix)/bin
+ PROJ_libdir     := $(DESTDIR)$(PROJ_prefix)/lib
+ PROJ_datadir    := $(DESTDIR)$(PROJ_prefix)/share
+-PROJ_docsdir    := $(DESTDIR)$(PROJ_prefix)/docs/llvm
++PROJ_docsdir    := $(DESTDIR)$(PROJ_prefix)/share/doc/llvm- at PACKAGE_VERSION@
+ PROJ_etcdir     := $(DESTDIR)$(PROJ_prefix)/etc/llvm
+ PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include
+ PROJ_infodir    := $(DESTDIR)$(PROJ_prefix)/info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080718/486d720d/attachment.html 


More information about the macports-changes mailing list