summaryrefslogtreecommitdiff
path: root/recipes/classpathx/gnumail-1.1.2/datadir_java.patch
blob: 50e908d2328e8027f61c41addb8689cd9787e488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: mail-1.1.2/Makefile.am
===================================================================
--- mail-1.1.2.orig/Makefile.am	2008-03-01 11:13:36.000000000 +0100
+++ mail-1.1.2/Makefile.am	2008-03-01 11:17:49.000000000 +0100
@@ -7,6 +7,8 @@
 JAVADOC = @JAVADOC@
 JAVADOCFLAGS = @JAVADOCFLAGS@
 
+JARDIR = $(datadir)/java
+
 src = @srcdir@/source
 dst = classes
 doc = @srcdir@/docs
@@ -433,8 +435,8 @@
 	rm -rf $(gnumail_jar) $(providers_jar) META-INF $(dst) $(doc)
 
 install-data-local:
-	@srcdir@/mkinstalldirs $(DESTDIR)/$(datadir)/java
-	$(INSTALL_DATA) $(gnumail_jar) $(DESTDIR)/$(datadir)/java
-	$(INSTALL_DATA) $(providers_jar) $(DESTDIR)/$(datadir)/java
+	@srcdir@/mkinstalldirs $(DESTDIR)/$(JARDIR)
+	$(INSTALL_DATA) $(gnumail_jar) $(DESTDIR)/$(JARDIR)
+	$(INSTALL_DATA) $(providers_jar) $(DESTDIR)/$(JARDIR)
 
 # End of Makefile.am