aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-03-11 20:39:49 +0100
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-03-11 20:39:49 +0100
commit4efb6012231eb845f489b3664def9facb9c6449b (patch)
tree7cb346e98d421e00bfdd542b16ebaf9b8d4078b4 /sci-physics/thepeg/files/thepeg-1.8.3-java.patch
parentadded cuda build fix from gx86 (diff)
downloadsci-4efb6012231eb845f489b3664def9facb9c6449b.tar.gz
sci-4efb6012231eb845f489b3664def9facb9c6449b.tar.bz2
sci-4efb6012231eb845f489b3664def9facb9c6449b.zip
sci-physics/thepeg: version bump
Diffstat (limited to 'sci-physics/thepeg/files/thepeg-1.8.3-java.patch')
-rw-r--r--sci-physics/thepeg/files/thepeg-1.8.3-java.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-physics/thepeg/files/thepeg-1.8.3-java.patch b/sci-physics/thepeg/files/thepeg-1.8.3-java.patch
new file mode 100644
index 000000000..45b0e9559
--- /dev/null
+++ b/sci-physics/thepeg/files/thepeg-1.8.3-java.patch
@@ -0,0 +1,37 @@
+--- java/Makefile.am
++++ java/Makefile.am
+@@ -11,8 +12,7 @@
+
+ CLEANFILES = ThePEG.jar thepeg.sh
+
+-jardir = $(pkglibdir)
+-nodist_jar_DATA = ThePEG.jar
++noinst_DATA = ThePEG.jar
+
+ dist_noinst_DATA = $(JAVASOURCES) jar-manifest
+
+@@ -34,7 +34,7 @@
+ $(JAR) cmf ThePEG/jar-manifest ThePEG.jar ThePEG/*.class
+
+ thepeg.sh: thepeg.install Makefile
+- sed -e s:@pkglibdir[@]:$(pkglibdir):g \
++ sed -e s:@datadir[@]:$(datadir):g \
+ -e s:@bindir[@]:$(bindir):g \
+ -e s:@java[@]:$(JAVA):g $(srcdir)/thepeg.install > thepeg.sh
+ chmod +x thepeg.sh
+--- java/thepeg.install
++++ java/thepeg.install
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-pkglibdir=@pkglibdir@
++source @datadir@/thepeg/package.env
+ bindir=@bindir@
+
+ ThePEG_CMD="${bindir}/setupThePEG"
+@@ -19,4 +19,4 @@
+
+
+
+-exec @java@ ${HEADLESS} -jar ${pkglibdir}/ThePEG.jar ${ThePEG_CMD} "$@"
++exec @java@ ${HEADLESS} -jar ${CLASSPATH} ${ThePEG_CMD} "$@"