diff options
Diffstat (limited to 'lang/openjdk8/hacks.mk')
-rw-r--r-- | lang/openjdk8/hacks.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/openjdk8/hacks.mk b/lang/openjdk8/hacks.mk new file mode 100644 index 00000000000..7b0c96dc52b --- /dev/null +++ b/lang/openjdk8/hacks.mk @@ -0,0 +1,15 @@ +# $NetBSD: hacks.mk,v 1.1 2015/02/08 08:41:25 tnn Exp $ + +.if !defined(OPENJDK8_HACKS_MK) +OPENJDK8_HACKS_MK= # empty + +### Ensure we do not pickup external jpeg includes: openjdk uses an internal +### libjpeg with potentially conflicting defines, which breaks at least +### libjpeg-turbo +post-wrapper: + ${RM} -f ${BUILDLINK_DIR}/include/jconfig.h + ${RM} -f ${BUILDLINK_DIR}/include/jerror.h + ${RM} -f ${BUILDLINK_DIR}/include/jmorecfg.h + ${RM} -f ${BUILDLINK_DIR}/include/jpeglib.h + +.endif |