From b81a45bce0fc6163cb0b16d3755fb76261da51e8 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 3 Dec 2009 17:07:31 +0000 Subject: Pass down --x-includes/--x-libraries for modular Xorg --- emulators/mednafen/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index c45f37f1e87..7e8c2e20980 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2009/10/31 14:46:51 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2009/12/03 17:07:31 joerg Exp $ # DISTNAME= mednafen-0.8.C @@ -28,6 +28,13 @@ SUBST_MESSAGE.dsp= Fixing path to audio device. SUBST_FILES.dsp= src/sexyal/drivers/oss.cpp src/sexyal/sexyal.cpp SUBST_SED.dsp= -e s,/dev/dsp,${DEVOSSAUDIO}, +.include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} == "modular" +CONFIGURE_ARGS+= --x-includes=${PREFIX:Q}/include +CONFIGURE_ARGS+= --x-libraries=${PREFIX:Q}/lib +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \ ${DESTDIR}${PREFIX}/share/doc/mednafen -- cgit v1.2.3