diff options
author | Max Khon <fjoe@FreeBSD.org> | 2008-12-16 08:14:26 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2008-12-16 08:14:26 +0000 |
commit | 8bdef2016466c4547b96c5528f735d01955f9467 (patch) | |
tree | f77e4ba41c64a2ef9f88c35d62fa8e7986a56016 /java/sqlitejdbc/files/patch-Makefile | |
parent | Reset yazzy@yazzy.org due to maintainer-timeouts and no response to (diff) |
New port: SQLiteJDBC is a Java JDBC driver for SQLite.
It runs using either a native code library or a 100% Pure Java driver
based on NestedVM emulation (but in this package only the native version
is installed).
PR: 124905
Submitted by: Lapo Luchini
Notes
Notes:
svn path=/head/; revision=224297
Diffstat (limited to 'java/sqlitejdbc/files/patch-Makefile')
-rw-r--r-- | java/sqlitejdbc/files/patch-Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/java/sqlitejdbc/files/patch-Makefile b/java/sqlitejdbc/files/patch-Makefile new file mode 100644 index 000000000000..52e98ff6f0de --- /dev/null +++ b/java/sqlitejdbc/files/patch-Makefile @@ -0,0 +1,28 @@ +--- Makefile.orig 2008-06-18 01:39:02.000000000 +0200 ++++ Makefile 2008-06-23 16:12:40.000000000 +0200 +@@ -16,6 +16,7 @@ + # + + include Makefile.common ++target := FreeBSD + + default: test + +@@ -29,13 +30,15 @@ + build/$(sqlitejdbc)-native.jar: $(native_classes) + cd build && jar cf $(sqlitejdbc)-native.jar $(java_classlist) + +-build/$(target)/$(LIBNAME): build/$(sqlite)-$(target)/sqlite3.o build/org/sqlite/NativeDB.class ++build/$(target)/$(LIBNAME): build/org/sqlite/NativeDB.class + @mkdir -p build/$(target) + $(JAVAH) -classpath build -jni -o build/NativeDB.h org.sqlite.NativeDB + $(CC) $(CFLAGS) -c -o build/$(target)/NativeDB.o \ ++ -I%%LOCALBASE%%/include \ + src/org/sqlite/NativeDB.c + $(CC) $(CFLAGS) $(LINKFLAGS) -o build/$(target)/$(LIBNAME) \ +- build/$(target)/NativeDB.o build/$(sqlite)-$(target)/*.o ++ build/$(target)/NativeDB.o \ ++ -L%%LOCALBASE%%/lib -lsqlite3 + $(STRIP) build/$(target)/$(LIBNAME) + + build/$(sqlite)-%/sqlite3.o: dl/$(sqlite)-amal.zip |