- Respect X11BASE.
Reported by: linimon
This commit is contained in:
parent
5326bb01c6
commit
954c421ec6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188072
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue