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.
35 lines
1,017 B
Makefile
35 lines
1,017 B
Makefile
# $NetBSD: Makefile,v 1.23 2001/10/24 22:11:12 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= ${PKGNAME}-source
|
|
PKGNAME= fltk-1.0.11
|
|
VERS= ${PKGNAME:S/fltk-//}
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=FLTK/} \
|
|
ftp://ftp.fltk.org/pub/fltk/${VERS}/ \
|
|
ftp://ftp2.easysw.com/pub/fltk/${VERS}/ \
|
|
ftp://ftp.northamerica.net/pub/ESP/fltk/${VERS}/ \
|
|
ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/fltk/${VERS}/ \
|
|
ftp://ftp.kddlabs.co.jp/pub/lang/fltk/${VERS}/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
HOMEPAGE= http://www.fltk.org/
|
|
COMMENT= Fast Light Tool Kit for graphical user interfaces
|
|
|
|
USE_X11BASE= # defined
|
|
USE_GMAKE= # defined
|
|
USE_LIBTOOL= # defined
|
|
USE_BUILDLINK_ONLY= # defined
|
|
|
|
GNU_CONFIGURE= # defined
|
|
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL}
|
|
|
|
test:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} test
|
|
|
|
.include "../../graphics/Mesa/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|