1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix build on systems such as those less than 9.0 which do not have

utmpx.h.  The previous commit had most of the work except for the
OSVERSION driven patch application.
This commit is contained in:
Brooks Davis 2011-09-27 15:36:28 +00:00
parent 14c0f593a2
commit 6ac4ab3a47
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282494

View File

@ -123,12 +123,14 @@ post-patch:
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/aimk \
${WRKSRC}/dist/pvm/src/aimk
.if ${OSVERSION} > 900007
@test \! -d ${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} || \
(cd ${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} && \
patch -p0 < ${FILESDIR}/qtcsh-config.h.diff)
@test -d ${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} || \
(cd ${WRKSRC}/3rdparty/qtcsh/FREEBSD_I386 && \
patch -p0 < ${FILESDIR}/qtcsh-config.h.diff)
.endif
@test -d ${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} || \
(${CP} -r ${WRKSRC}/3rdparty/qtcsh/FREEBSD_I386 \
${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} && \