diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-03-23 00:50:26 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-03-23 00:50:26 +0000 |
commit | 954c421ec677962f3c1bec1560487f6ab8ae7d84 (patch) | |
tree | f33aa8e7e3ff07025e115f2c4bcbb5fdcec09dce /lang/mpd | |
parent | 5326bb01c666ea3e32b3228f016c8b819e47a278 (diff) | |
download | ports-954c421ec677962f3c1bec1560487f6ab8ae7d84.tar.gz ports-954c421ec677962f3c1bec1560487f6ab8ae7d84.zip |
Notes
Diffstat (limited to 'lang/mpd')
-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 |