Fix for ports/47866, ports/48610 & ports/46768: postgresql-jdbc failed to build when certain older versions of the jar file was installed in /usr/local/share/java/classes, since ant loads all jar files in that directory. This is really a problem with the FreeBSD ant run-script, but me and the maintainer of ant agree that keeping this behaviour in ant makes life easier for more people. Hence, fix the build.xml in postgresql, and add includeAntRuntime="no" to the javac task in the compile target. This makes ant ignore the classpath from the ant script. Fix: patch and add this patch-file:
State Changed From-To: open->analyzed I'll handle this. The PR looks good.
Responsible Changed From-To: freebsd-ports-bugs->znerd I'll handle this. The PR looks good.
I can't build the port. A 'make install' gives me: [javac] /usr/home/ernst/freebsd/ports/databases/postgresql-jdbc/work/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java:56: cannot resolve symbol [javac] symbol : method assertNotNull (java.sql.DatabaseMetaData) [javac] location: class org.postgresql.test.jdbc2.DatabaseMetaDataTest [javac] assertNotNull(dbmd); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 100 errors Looks like the port depends on junit... Ernst
Hi Ernst, Well, whats with the 7.2.1? It should read 7.3.2... Try updating your databases/postgresql7 structure. /Palle --On tisdag, mars 04, 2003 14.10.59 +0100 Ernst de Haan <ernst.dehaan@nl.wanadoo.com> wrote: > I can't build the port. A 'make install' gives me: > > [javac] > /usr/home/ernst/freebsd/ports/databases/postgresql-jdbc/work/postgresql-7 > .2.1/src/interfaces/jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.j > ava:56: cannot resolve symbol > [javac] symbol : method assertNotNull (java.sql.DatabaseMetaData) > [javac] location: class org.postgresql.test.jdbc2.DatabaseMetaDataTest > [javac] assertNotNull(dbmd); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -deprecation for details. > [javac] 100 errors > > Looks like the port depends on junit... > > Ernst
Hi! Did you forget this PR? /Palle
State Changed From-To: analyzed->closed Committed, thanks!