summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortnn <tnn>2016-03-11 07:02:59 +0000
committertnn <tnn>2016-03-11 07:02:59 +0000
commit901774cba0d9570824d0f3ef83269dd10b739c70 (patch)
tree2349ac08a79efbef10deb564d0da7434c0e5999c /lang
parent3303eefded087c09defd8d3402a002ef5e94f163 (diff)
downloadpkgsrc-901774cba0d9570824d0f3ef83269dd10b739c70.tar.gz
try harder to find system's zlib
Diffstat (limited to 'lang')
-rw-r--r--lang/openjdk8/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/openjdk8/Makefile b/lang/openjdk8/Makefile
index f5052ceae55..d03ccce9bd3 100644
--- a/lang/openjdk8/Makefile
+++ b/lang/openjdk8/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2016/03/05 11:28:43 jperkin Exp $
+# $NetBSD: Makefile,v 1.30 2016/03/11 07:02:59 tnn Exp $
DISTNAME= openjdk-1.8.74-20160219
PKGNAME= openjdk8-1.8.74
@@ -47,6 +47,7 @@ CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= --with-boot-jdk=${ALT_BOOTDIR}
CONFIGURE_ARGS+= --with-zlib=system
+MAKEFLAGS+= LIBZ="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zlib}/lib -L${BUILDLINK_PREFIX.zlib}/lib -lz"
CONFIGURE_ARGS+= --with-giflib=bundled
CONFIGURE_ARGS+= --with-cups=${BUILDLINK_PREFIX.cups}
CONFIGURE_ARGS+= --with-freetype-lib=${BUILDLINK_PREFIX.freetype2}/lib