diff options
Diffstat (limited to 'databases/postgis-jdbc/files/patch-Makefile')
-rw-r--r-- | databases/postgis-jdbc/files/patch-Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/databases/postgis-jdbc/files/patch-Makefile b/databases/postgis-jdbc/files/patch-Makefile new file mode 100644 index 000000000000..d657301bc048 --- /dev/null +++ b/databases/postgis-jdbc/files/patch-Makefile @@ -0,0 +1,51 @@ +diff -urN ../jdbc.orig/Makefile ./Makefile +--- ../jdbc.orig/Makefile Fri Jun 25 18:11:45 2004 ++++ ./Makefile Fri Jun 25 18:12:52 2004 +@@ -1,15 +1,21 @@ + JAVAC = javac + JAVA = java + JAR = jar +-CLASSPATH = ../../../src/interfaces/jdbc/jars/postgresql.jar:. ++CLASSPATH = $(JAVAJARDIR)/postgresql.jar:. + + all: ogis \ + pgobjs \ +- test ++ test \ ++ jar + + jar: + $(JAR) -cf postgis.jar org/postgis/*.java org/postgis/*.class README + ++install: ++ $(INSTALL_DATA) postgis.jar $(JAVAJARDIR) ++ [ -d $(EXAMPLESDIR) ] || mkdir $(EXAMPLESDIR) || exit -1 ++ $(INSTALL_DATA) examples/Test.java examples/TestServer.java $(EXAMPLESDIR) ++ + ogis: + $(JAVAC) -classpath $(CLASSPATH) \ + org/postgis/Geometry.java \ +@@ -20,19 +26,21 @@ + org/postgis/LinearRing.java \ + org/postgis/Polygon.java \ + org/postgis/MultiPolygon.java ++ touch ogis + + + pgobjs: + $(JAVAC) -classpath $(CLASSPATH) \ + org/postgis/PGgeometry.java \ + org/postgis/PGbox3d.java ++ touch pgobjs + + test: + $(JAVAC) -classpath $(CLASSPATH) examples/Test.java + $(JAVA) -classpath $(CLASSPATH) examples/Test +- ++ touch test + + jtest: + $(JAVAC) -classpath $(CLASSPATH) examples/TestServer.java + $(JAVA) -classpath $(CLASSPATH) examples/TestServer +- ++ touch jtest |