diff options
Diffstat (limited to 'lang/mpd/Makefile')
-rw-r--r-- | lang/mpd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |