aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2011-09-27 15:36:28 +0000
committerBrooks Davis <brooks@FreeBSD.org>2011-09-27 15:36:28 +0000
commit6ac4ab3a4783c80e6f40b926eb35f266da6e6c91 (patch)
tree245338951effdc6dba5c9aa95c1e21291f02f8eb
parent14c0f593a2667cc99fbf58c22b72f1bb0718b3ba (diff)
downloadports-6ac4ab3a4783c80e6f40b926eb35f266da6e6c91.tar.gz
ports-6ac4ab3a4783c80e6f40b926eb35f266da6e6c91.zip
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.
Notes
Notes: svn path=/head/; revision=282494
-rw-r--r--sysutils/sge62/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/sge62/Makefile b/sysutils/sge62/Makefile
index bfe14795266d..a23146ca37b7 100644
--- a/sysutils/sge62/Makefile
+++ b/sysutils/sge62/Makefile
@@ -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} && \