Make sure qt33 installs (and reinstalls) properly when PREFIX is set
to !=/usr/X11R6 (which will be the default once X.org 7.2 hits ports).
This commit is contained in:
parent
4b39f15754
commit
70b438b434
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190367
1 changed files with 3 additions and 3 deletions
|
@ -186,10 +186,10 @@ post-build:
|
|||
.for tool in makeqpf mergetr msg2qm qembed qvfb
|
||||
@cd ${WRKSRC}/tools/${tool}; ${SETENV} ${MAKE_ENV} ${MAKE}
|
||||
.endfor
|
||||
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${GREP} --mmap -F -l -- \
|
||||
"${PLATFORM}" | ${XARGS} ${REINPLACE_CMD} -e "s,${PLATFORM}/qmake.conf,," \
|
||||
-e "s,${PLATFORM},,"
|
||||
@${RM} -f ${WRKSRC}/doc/html/qmake*
|
||||
${REINPLACE_CMD} -e 's|${PREFIX}/include/q.*h||g' \
|
||||
-e 's|${PREFIX}/include/private/q.*h||g' \
|
||||
${WRKSRC}/src/Makefile
|
||||
|
||||
# Work around qmake generated dependencies
|
||||
pre-su-install:
|
||||
|
|
Loading…
Reference in a new issue