diff options
author | Alastair Tse <liquidx@gentoo.org> | 2005-01-26 14:23:41 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2005-01-26 14:23:41 +0000 |
commit | aa8e10b1c7aff308afb3d69af07361b31157395f (patch) | |
tree | a56f11e91093bf4e39e284fb22163c2ca66d2206 /app-pda/pilot-link | |
parent | Update copyright headers. Version 0.08 stable for x86. (diff) | |
download | gentoo-2-aa8e10b1c7aff308afb3d69af07361b31157395f.tar.gz gentoo-2-aa8e10b1c7aff308afb3d69af07361b31157395f.tar.bz2 gentoo-2-aa8e10b1c7aff308afb3d69af07361b31157395f.zip |
added/reorganised patches from ppc/amd64 on java bindings compilation (bug #66087)
(Portage version: 2.0.51-r14)
Diffstat (limited to 'app-pda/pilot-link')
-rw-r--r-- | app-pda/pilot-link/ChangeLog | 12 | ||||
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.11.8-java_compile_amd64.patch | 11 | ||||
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.11.8-java_install_all.patch (renamed from app-pda/pilot-link/files/pilot-link-0.11.8-javapath.patch) | 0 | ||||
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.11.8-java_install_amd64.patch | 11 | ||||
-rw-r--r-- | app-pda/pilot-link/files/pilot-link-0.11.8-java_install_ppc.patch (renamed from app-pda/pilot-link/files/pilot-link-0.11.8-javappc.patch) | 0 | ||||
-rw-r--r-- | app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild | 17 |
6 files changed, 45 insertions, 6 deletions
diff --git a/app-pda/pilot-link/ChangeLog b/app-pda/pilot-link/ChangeLog index 057a70089091..76026c633cd0 100644 --- a/app-pda/pilot-link/ChangeLog +++ b/app-pda/pilot-link/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-pda/pilot-link # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.17 2005/01/01 15:46:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/ChangeLog,v 1.18 2005/01/26 14:23:40 liquidx Exp $ + + 26 Jan 2005; Alastair Tse <liquidx@gentoo.org> + +files/pilot-link-0.11.8-java_compile_amd64.patch, + +files/pilot-link-0.11.8-java_install_all.patch, + +files/pilot-link-0.11.8-java_install_amd64.patch, + +files/pilot-link-0.11.8-java_install_ppc.patch, + -files/pilot-link-0.11.8-javapath.patch, + -files/pilot-link-0.11.8-javappc.patch, pilot-link-0.11.8-r1.ebuild: + added/reorganised patches from ppc/amd64 on java bindings compilation (bug + #66087) 27 Nov 2004; Simon Stelling <blubb@gentoo.org> +files/pilot-link-0.11.8-fPIC.patch, pilot-link-0.11.8-r1.ebuild: diff --git a/app-pda/pilot-link/files/pilot-link-0.11.8-java_compile_amd64.patch b/app-pda/pilot-link/files/pilot-link-0.11.8-java_compile_amd64.patch new file mode 100644 index 000000000000..4e348be561e6 --- /dev/null +++ b/app-pda/pilot-link/files/pilot-link-0.11.8-java_compile_amd64.patch @@ -0,0 +1,11 @@ +--- pilot-link-0.11.8/bindings/Java/Makefile.am 2003-06-17 17:08:51.000000000 -0400 ++++ pilot-link-0.11.8.new/bindings/Java/Makefile.am 2004-10-10 06:06:14.014193728 -0400 +@@ -38,7 +38,7 @@ + $(JAVAC) -d . $(java_files) + + java_lib: libjpisock.c +- $(CXX) $(INCLUDES) $(DEFS) -L $(top_builddir)/libpisock/.libs -lpisock -shared -o libjpisock.so $(srcdir)/libjpisock.c ++ $(CXX) $(CXXFLAGS) -fPIC $(INCLUDES) $(DEFS) -L $(top_builddir)/libpisock/.libs -lpisock -shared -o libjpisock.so $(srcdir)/libjpisock.c + + java_jar: $(java_classes) + $(JAR) cvf pilot-link.jar $(java_classes) diff --git a/app-pda/pilot-link/files/pilot-link-0.11.8-javapath.patch b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_all.patch index ab45653b979e..ab45653b979e 100644 --- a/app-pda/pilot-link/files/pilot-link-0.11.8-javapath.patch +++ b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_all.patch diff --git a/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_amd64.patch b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_amd64.patch new file mode 100644 index 000000000000..9c7d710d3e32 --- /dev/null +++ b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_amd64.patch @@ -0,0 +1,11 @@ +--- pilot-link-0.11.8/bindings/Java/Makefile.am 2004-10-10 06:19:24.822972520 -0400 ++++ pilot-link-0.11.8.new/bindings/Java/Makefile.am 2004-10-10 06:27:10.301209072 -0400 +@@ -46,7 +46,7 @@ + java_pisock: java_compile java_lib java_jar + + install: all +- cp libjpisock.so ${JAVABASE}/jre/lib/i386/ ++ cp libjpisock.so ${JAVABASE}/jre/lib/amd64/ + + test: install + ${JAVABASE}/bin/java test ${PORT} diff --git a/app-pda/pilot-link/files/pilot-link-0.11.8-javappc.patch b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_ppc.patch index 9014c542a5ff..9014c542a5ff 100644 --- a/app-pda/pilot-link/files/pilot-link-0.11.8-javappc.patch +++ b/app-pda/pilot-link/files/pilot-link-0.11.8-java_install_ppc.patch diff --git a/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild b/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild index d51f91ceecb5..ef59844c6fc0 100644 --- a/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild +++ b/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild,v 1.6 2005/01/01 15:46:37 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/pilot-link/pilot-link-0.11.8-r1.ebuild,v 1.7 2005/01/26 14:23:40 liquidx Exp $ inherit perl-module eutils @@ -24,11 +24,18 @@ DEPEND="virtual/libc src_unpack() { unpack ${A} - if use java && use ppc; then - epatch ${FILESDIR}/${P}-javappc.patch - else - epatch ${FILESDIR}/${P}-javapath.patch + + if use java; then + if use ppc; then + epatch ${FILESDIR}/${P}-java_install_ppc.patch + elif use amd64; then + epatch ${FILESDIR}/${P}-java_install_amd64.patch + epatch ${FILESDIR}/${P}-java_compile_amd64.patch + else + epatch ${FILESDIR}/${P}-java_install_all.patch + fi fi + # bug #62873 cd ${S}/libpisock; epatch ${FILESDIR}/${P}-netsync.patch } |