diff options
author | fjoe <fjoe@FreeBSD.org> | 2005-08-14 21:30:15 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2005-08-14 21:30:15 +0800 |
commit | 2dff433ddf2389371fb32d83bb62860625f3080f (patch) | |
tree | 860f910dd4bdaab7c03eb2bd62c303075f628d5d /graphics | |
parent | 32f24d7a71b9d7f2deeaeb979c24ca573544d37d (diff) | |
download | freebsd-ports-gnome-2dff433ddf2389371fb32d83bb62860625f3080f.tar.gz freebsd-ports-gnome-2dff433ddf2389371fb32d83bb62860625f3080f.tar.zst freebsd-ports-gnome-2dff433ddf2389371fb32d83bb62860625f3080f.zip |
- Require native JDK.
- Do not hardcode jdk path (use ${JAVA_HOME})
Approved by: portmgr, maintainer timeout
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libpano12/Makefile | 3 | ||||
-rw-r--r-- | graphics/libpano12/files/makefile.freebsd | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/graphics/libpano12/Makefile b/graphics/libpano12/Makefile index 1b89985cb0b7..3e3966cb81b3 100644 --- a/graphics/libpano12/Makefile +++ b/graphics/libpano12/Makefile @@ -10,6 +10,7 @@ PORTNAME= libpano12 PORTVERSION= 2.7.0.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.openit.com.br/distfiles/ @@ -22,8 +23,10 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \ USE_JAVA= yes JAVA_VERSION= 1.3+ +JAVA_OS= native MAKEFILE= makefile.freebsd +MAKE_ENV= JAVA_HOME=${JAVA_HOME} INSTALLS_SHLIB= yes diff --git a/graphics/libpano12/files/makefile.freebsd b/graphics/libpano12/files/makefile.freebsd index 8c096917bdb9..96ae7bc950d8 100644 --- a/graphics/libpano12/files/makefile.freebsd +++ b/graphics/libpano12/files/makefile.freebsd @@ -8,7 +8,7 @@ objects= filter.o parser.o queryfeature.o correct.o perspect.o \ ansobj = sys_ansi.o ppm.o -CFLAGS1 = -O -L${PREFIX}/lib/ -I${PREFIX}/jdk1.4.2/include/ -I${PREFIX}/jdk1.4.2/include/freebsd/ -I${PREFIX}/include/ -fPIC -D__Ansi__=1 +CFLAGS1 = -O -L${PREFIX}/lib/ -I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/freebsd/ -I${PREFIX}/include/ -fPIC -D__Ansi__=1 CFLAGS2 = -O -I./ -L./ CFLAGS = $(CFLAGS1) |