[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / elvis

File: [cvs.NetBSD.org] / pkgsrc / editors / elvis / Attic / options.mk (download)

Revision 1.2, Mon Oct 3 00:52:07 2011 UTC (12 years, 5 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.1: +2 -1 lines

Add freetype2 for elvis-x11; PKGREVISION -> 7.

XXX: The way this is set up, elvis and elvis-x11 cannot have different
XXX: values of ${PKGREVISION}.

# $NetBSD: options.mk,v 1.2 2011/10/03 00:52:07 dholland Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.elvis
PKG_SUPPORTED_OPTIONS=		x11

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mx11)
BUILDLINK_DEPMETHOD.libXt?=	build
.  include "../../x11/libXft/buildlink3.mk"
.  include "../../graphics/freetype2/buildlink3.mk"
.  include "../../x11/libXpm/buildlink3.mk"
.  include "../../x11/libXt/buildlink3.mk"
CONFIGURE_ARGS+=		--with-x
CONFIGURE_ARGS+=		--with-xft
CONFIGURE_ARGS+=		--x-includes=${X11BASE:Q}/include
CONFIGURE_ARGS+=		--x-libraries=${X11BASE:Q}/lib
.else
CONFIGURE_ARGS+=		--without-x
.endif