diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2011-10-14 16:55:50 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2011-10-14 16:55:50 +0000 |
commit | 4e57e0901f6634551460c218a3bbec1d99b038da (patch) | |
tree | 5906bfd172bf9040f86fb4777c44365a7b63a2f5 /sysutils/sge61/Makefile | |
parent | 68cd39a5dd1b9b1b25d77ca4fc602d64f08c2738 (diff) | |
download | ports-4e57e0901f6634551460c218a3bbec1d99b038da.tar.gz ports-4e57e0901f6634551460c218a3bbec1d99b038da.zip |
Fix build on 9.x systems with utmpx.h.
Notes
Notes:
svn path=/head/; revision=283526
Diffstat (limited to 'sysutils/sge61/Makefile')
-rw-r--r-- | sysutils/sge61/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile index 240be044c655..60224320076a 100644 --- a/sysutils/sge61/Makefile +++ b/sysutils/sge61/Makefile @@ -90,10 +90,6 @@ EXCEPTFILES= arc_depend_irix.asc arc_depend_solaris.asc man testsuite .include <bsd.port.pre.mk> -.if ${OSVERSION} > 900007 -BROKEN= fails to build with new utmpx -.endif - .if defined(WITH_BDB) LIB_DEPENDS= db-4.2:${PORTSDIR}/databases/db42 PLIST_SUB+= BDB_SPOOL= @@ -143,6 +139,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} && \ |