[108518] trunk/dports/devel/subversion-javahlbindings

dluke at macports.org dluke at macports.org
Thu Jul 25 07:25:28 PDT 2013


Revision: 108518
          https://trac.macports.org/changeset/108518
Author:   dluke at macports.org
Date:     2013-07-25 07:25:28 -0700 (Thu, 25 Jul 2013)
Log Message:
-----------
subversion-javahlbindings: patch to make the build respect destroot (builds fine under the sandbox now)

Modified Paths:
--------------
    trunk/dports/devel/subversion-javahlbindings/Portfile

Added Paths:
-----------
    trunk/dports/devel/subversion-javahlbindings/files/
    trunk/dports/devel/subversion-javahlbindings/files/patch-configure.diff

Modified: trunk/dports/devel/subversion-javahlbindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-javahlbindings/Portfile	2013-07-25 14:20:50 UTC (rev 108517)
+++ trunk/dports/devel/subversion-javahlbindings/Portfile	2013-07-25 14:25:28 UTC (rev 108518)
@@ -4,6 +4,7 @@
 
 name			subversion-javahlbindings
 version			1.8.1
+revision		1
 categories		devel java
 platforms		darwin
 maintainers		geeklair.net:dluke blair
@@ -45,9 +46,6 @@
 			--enable-javahl --without-jikes \
 			--with-junit=${prefix}/share/java/junit.jar
 
-#- we can't be sandboxed if we want to make symlinks in /Library/Java/Extensions
-portsandbox_active no
-
 build.target		javahl
 destroot.target		install-javahl
 
@@ -58,6 +56,8 @@
 
 destroot.violate_mtree	yes
 
+patchfiles		patch-configure.diff
+
 pre-test {		reinplace "s|-Djava.library.path=:\$(libdir)|-Djava.library.path=:${worksrcpath}/subversion/bindings/javahl/native/.libs|g" \
 			${worksrcpath}/Makefile
 

Added: trunk/dports/devel/subversion-javahlbindings/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/subversion-javahlbindings/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/devel/subversion-javahlbindings/files/patch-configure.diff	2013-07-25 14:25:28 UTC (rev 108518)
@@ -0,0 +1,12 @@
+--- configure.orig	2013-07-25 10:13:58.000000000 -0400
++++ configure	2013-07-25 10:14:59.000000000 -0400
+@@ -25093,7 +25093,7 @@
+ 
+   os_arch=`uname`
+   if test "$os_arch" = "Darwin"; then
+-        INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
++        INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(DESTDIR)$(libdir)/libsvnjavahl-1.jnilib'
+     FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
+   fi
+   # This segment (and the rest of r10800) is very likely unnecessary
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130725/a0b686e4/attachment.html>


More information about the macports-changes mailing list