diff options
author | brooks <brooks@FreeBSD.org> | 2011-09-27 23:36:28 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2011-09-27 23:36:28 +0800 |
commit | 472c35df694e8c9a7e406814b6c9f447907a75f0 (patch) | |
tree | 66070190d8b5aea45f032b813260696859f4c9ec /sysutils | |
parent | 99d752879c1575775b05b30ea7f50a91914cf209 (diff) | |
download | freebsd-ports-gnome-472c35df694e8c9a7e406814b6c9f447907a75f0.tar.gz freebsd-ports-gnome-472c35df694e8c9a7e406814b6c9f447907a75f0.tar.zst freebsd-ports-gnome-472c35df694e8c9a7e406814b6c9f447907a75f0.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.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/sge62/Makefile | 2 |
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} && \ |