mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Properly fix build on 7.x. The proper OSVERSION check should be 703100.
Also fix a bizarre scenario where ${FAKEDIR}/share/kde4 was not being created. The root cause of this is still not determined but this should fix it for now. Submitted by: Joseph Atkinson <jsa@wickedmachine.net>
This commit is contained in:
parent
2bc822d8e8
commit
962f990c53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257734
@ -167,7 +167,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules__misc__inhibit__xdg.c \
|
||||
${FILESDIR}/extra-patch-modules__misc__inhibit__xscreensaver.c
|
||||
.endif
|
||||
|
||||
.if (${OSVERSION} < 702102)
|
||||
.if (${OSVERSION} < 703100)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules__access__file.c \
|
||||
${FILESDIR}/extra-patch-modules__access__fs.c
|
||||
.endif
|
||||
@ -667,11 +667,12 @@ pre-install:
|
||||
${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} ; \
|
||||
fi
|
||||
.for dir in icons kde4 vlc
|
||||
if [ -d ${FAKEDIR}/share/${dir} ]; then \
|
||||
cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST}
|
||||
${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST}
|
||||
${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} \
|
||||
&& ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \
|
||||
|
Loading…
Reference in New Issue
Block a user