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.
27 lines
761 B
Makefile
27 lines
761 B
Makefile
# $NetBSD: Makefile,v 1.25 2001/10/24 22:11:13 jlam Exp $
|
|
# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp
|
|
#
|
|
|
|
DISTNAME= Tk800.022
|
|
PKGNAME= p5-Tk-800.022
|
|
SVR4_PKGNAME= p5tk
|
|
CATEGORIES= x11 tk perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tk/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Tk/pod/overview.html
|
|
COMMENT= perl5 interface to Tk
|
|
|
|
BUILD_DEPENDS= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser
|
|
|
|
USE_PERL5= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Tk/.packlist
|
|
|
|
MAKE_PARAMS= X11=${BUILDLINK_X11_DIR}
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
|
|
|
|
.include "../../x11/tk/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|