d26cf36e57
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
711 B
Makefile
30 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.13 2006/12/27 13:37:42 joerg Exp $
|
|
|
|
DISTNAME= Mowitz-0.2.2
|
|
PKGREVISION= 2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://siag.nu/pub/mowitz/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://siag.nu/mowitz/
|
|
COMMENT= "More widgets" library
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${XAW_TYPE} == "xpm"
|
|
CONFIGURE_ARGS+=--with-xawm=XawXpm
|
|
.elif ${XAW_TYPE} == "3d"
|
|
CONFIGURE_ARGS+=--with-xawm=Xaw3d
|
|
.elif ${XAW_TYPE} == "neXtaw"
|
|
CONFIGURE_ARGS+=--with-xawm=neXtaw
|
|
.else
|
|
CONFIGURE_ARGS+=--with-xawm=Xaw
|
|
.endif
|
|
|
|
.include "../../x11/libXp/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|