a4bc16d30c
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files.
32 lines
869 B
Makefile
32 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.14 2001/10/24 22:10:56 jlam Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}
|
|
COMMENT= Freeciv client with Xaw interface
|
|
|
|
DEPENDS+= freeciv-share-${FC_VERS}:../../games/freeciv-share
|
|
|
|
CONFLICTS= freeciv-client-gtk<=1.11.4
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
CONFIGURE_ARGS+= --disable-server
|
|
CONFIGURE_ARGS+= --disable-make-data
|
|
CONFIGURE_ARGS+= --enable-client=xaw
|
|
|
|
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
|
|
CONFIGURE_ARGS+= --with-xaw3d
|
|
.endif
|
|
|
|
.include "../freeciv-share/Makefile.common"
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/client; ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
|
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../graphics/xpm/buildlink.mk"
|
|
.include "../../mk/xaw.buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|