- Really respect X11BASE
Approved by: portmgr (linimon)
This commit is contained in:
parent
0671601ebe
commit
0c38bbcda3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179264
2 changed files with 3 additions and 2 deletions
|
@ -41,6 +41,7 @@ post-patch:
|
|||
's|SDL/SDL|SDL|g'
|
||||
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
|
||||
s|^CXXFLAGS|#CXXFLAGS|g ; \
|
||||
s|/usr/X11R6|${X11BASE}|g ; \
|
||||
s|-lSDL | |g ; \
|
||||
s|-lpng12|-lpng|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|and def|\&\& def|g' ${WRKSRC}/utils/OSName.hpp
|
||||
|
|
|
@ -56,8 +56,8 @@ STDINTFLAG= true
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
-e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
-e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|malloc.h|stdlib.h|g' \
|
||||
${WRKSRC}/ode-0.5/configurator.c
|
||||
|
|
Loading…
Reference in a new issue