| Summary: | print/pdflib: fail to build with JAVA option | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Tommy P <tommyhp2> | ||||||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | CC: | ale, tommyhp2, w.schwarzenfeld | ||||||||
| Priority: | --- | Flags: | w.schwarzenfeld:
maintainer-feedback?
(ale) |
||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 211058 [details]
patch for print/pdflib with JAVA option for configure
Created attachment 211059 [details]
patch for print/pdflib with JAVA option for configure.in
Created attachment 211088 [details]
svn-diff-pdflib-java
Another patch for configure already exists, so I had to change your patch.
(In reply to Walter Schwarzenfeld from comment #3) Thank you. I forgot to check existing patches. No need to bump portrevision and change configure.in. A commit references this bug: Author: ale Date: Mon Jan 27 07:29:21 UTC 2020 New revision: 524244 URL: https://svnweb.freebsd.org/changeset/ports/524244 Log: Fix build when JAVA is enabled. PR: 243611 Submitted by: Tommy P <tommyhp2@gmail.com> Changes: head/print/pdflib/files/patch-bind_pdflib_perl_Makefile head/print/pdflib/files/patch-configure |
===> The following configuration options are available for pdflib-7.0.5_5: DOCS=off: Build and/or install documentation JAVA=on: Build Java bindings PERL=on: Build perl bindings ===> Use 'make config' to modify these settings ../../../libtool --silent --mode=link cc -o libpdf_java.la pdflib_java.lo -module -rpath /usr/local/lib \ -fstack-protector-strong ../../../libs/pdflib/libs_libpdf.la -lm rm -rf com mkdir com mkdir com/pdflib javac -classpath pdflib.jar:. -source 1.4 PDFlibException.java pdflib.java warning: [options] bootstrap class path not set in conjunction with -source 1.4 error: Source option 1.4 is no longer supported. Use 6 or later. gmake[4]: *** [Makefile:68: pdflib.jar] Error 2 gmake[4]: Leaving directory '/wrkdirs/usr/ports/print/pdflib/work/PDFlib-Lite-7.0.5p3/bind/pdflib/java' gmake[3]: *** [../../config/mksubdirs.inc:17: all] Error 2 gmake[3]: Leaving directory '/wrkdirs/usr/ports/print/pdflib/work/PDFlib-Lite-7.0.5p3/bind/pdflib' gmake[2]: *** [../config/mksubdirs.inc:17: all] Error 2 gmake[2]: Leaving directory '/wrkdirs/usr/ports/print/pdflib/work/PDFlib-Lite-7.0.5p3/bind' gmake[1]: *** [config/mksubdirs.inc:17: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/print/pdflib/work/PDFlib-Lite-7.0.5p3' *** Error code 1 Stop. make: stopped in /usr/ports/print/pdflib ==================================================================================================================== # JAVA_VERSION List of space-separated suitable java versions for the # port. An optional "+" allows you to specify a range of # versions. (allowed values: 7[+] 8[+] 11[+] 12[+] 13[+]) from Mk/bsd.java.mk