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 | 19abe71f40e874933d1f33b48e3db822c5bc8c60 (patch) | |
tree | 75bbd6e1fc0439c3dd244a045b79fd81a71264f9 /emulators | |
parent | 34b916d025f9e36452cb83cfaab7414052b9a4cb (diff) | |
download | pkgsrc-19abe71f40e874933d1f33b48e3db822c5bc8c60.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 |