or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
30 lines
844 B
Makefile
30 lines
844 B
Makefile
# $NetBSD: Makefile,v 1.13 2006/12/27 13:37:38 joerg Exp $
|
|
#
|
|
|
|
.include "../../lang/sablevm-classpath/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/classpath/classpath-gui/}
|
|
PKGREVISION= 1
|
|
COMMENT+= (GUI libraries)
|
|
|
|
DEPENDS+= sablevm-classpath>=1.13nb1:../../lang/sablevm-classpath
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
BUILD_DIRS= native/jni/classpath
|
|
BUILD_DIRS+= native/jni/gtk-peer
|
|
INSTALL_DIRS= native/jni/gtk-peer
|
|
|
|
PRINT_PLIST_AWK+= \
|
|
/^@dirrm java\/sablevm\/lib\/sablevm-classpath$$/ \
|
|
{ print "@comment in sablevm-classpath: "$$0; next; }
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../graphics/libart2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
|
.include "../../mk/java-env.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|