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 | - Bump PORTREVISION (package changes: added pkg-message). (diff) |
- Respect X11BASE.
Reported by: linimon
Notes
Notes:
svn path=/head/; revision=188072
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 |