- Respect X11BASE.

Reported by:	linimon
This commit is contained in:
Alejandro Pulver 2007-03-23 00:50:26 +00:00
parent 5326bb01c6
commit 954c421ec6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188072

View file

@ -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