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.
28 lines
852 B
Makefile
28 lines
852 B
Makefile
# $NetBSD: Makefile,v 1.27 2001/10/24 22:11:02 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= libwmf-0.2.1
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
|
|
|
|
MAINTAINER= kei@netbsd.org
|
|
HOMEPAGE= http://www.wvware.com/libwmf.html
|
|
COMMENT= library for reading and converting WMF (Windows Meta Files), version 2
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --includedir=${INCLUDEDIR}
|
|
CONFIGURE_ARGS+= --with-docdir=${HTMLDIR}
|
|
USE_X11= YES
|
|
USE_LIBTOOL= YES
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
INCLUDEDIR= ${PREFIX}/include/libwmf
|
|
HTMLDIR= ${PREFIX}/share/doc/html/libwmf
|
|
|
|
.include "../../graphics/freetype2/buildlink.mk"
|
|
.include "../../graphics/png/buildlink.mk"
|
|
.include "../../graphics/xpm/buildlink.mk"
|
|
.include "../../textproc/libxml2/buildlink.mk"
|
|
.include "../../mk/x11.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|