diff options
author | joerg <joerg@pkgsrc.org> | 2009-12-03 17:07:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-12-03 17:07:31 +0000 |
commit | b81a45bce0fc6163cb0b16d3755fb76261da51e8 (patch) | |
tree | 75bbd6e1fc0439c3dd244a045b79fd81a71264f9 /emulators | |
parent | 76df0f813f7aa25c687a755deb704776bbb65dbe (diff) | |
download | pkgsrc-b81a45bce0fc6163cb0b16d3755fb76261da51e8.tar.gz |
Pass down --x-includes/--x-libraries for modular Xorg
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mednafen/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 |