From 954c421ec677962f3c1bec1560487f6ab8ae7d84 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Fri, 23 Mar 2007 00:50:26 +0000 Subject: - Respect X11BASE. Reported by: linimon --- lang/mpd/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang/mpd') diff --git a/lang/mpd/Makefile b/lang/mpd/Makefile index b343a3fc9eab..7995d99a30c8 100644 --- a/lang/mpd/Makefile +++ b/lang/mpd/Makefile @@ -46,7 +46,10 @@ post-patch: s%^(MPDSRC =) .*%\1 ${WRKSRC}%; \ s%^((MPD(CMD|LIB)|MAN[135]) =) /usr/local%\1 ${PREFIX}%" \ ${WRKSRC}/Configuration -.if defined(WITHOUT_X11) +.if !defined(WITHOUT_X11) + @${REINPLACE_CMD} -Ee 's%^(XINCL =) .*%\1 ${X11BASE}/include%' \ + ${WRKSRC}/Configuration +.else @${REINPLACE_CMD} -Ee 's%^(XINCL =) .*%\1%' ${WRKSRC}/Configuration .endif -- cgit v1.2.3