diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-04 18:21:14 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-04 18:21:14 +0000 |
commit | dfc461730db9b9f46de40650bae5459764151aad (patch) | |
tree | 08e896edc7d957956f2fc13a195ae05a2097dd27 | |
parent | eb973cac3185fe16a0785db324f81d2961c653f2 (diff) | |
download | ports-dfc461730db9b9f46de40650bae5459764151aad.tar.gz ports-dfc461730db9b9f46de40650bae5459764151aad.zip |
- Fix build on 5.x
PR: ports/73528
Submitted by: Janos Mohacsi <janos.mohacsi@niif.hu>
Notes
Notes:
svn path=/head/; revision=120800
-rw-r--r-- | audio/rat/Makefile | 4 | ||||
-rw-r--r-- | audio/rat/files/patch-rat_configure.in | 14 | ||||
-rw-r--r-- | mbone/rat/Makefile | 4 | ||||
-rw-r--r-- | mbone/rat/files/patch-rat_configure.in | 14 |
4 files changed, 28 insertions, 8 deletions
diff --git a/audio/rat/Makefile b/audio/rat/Makefile index f26916805d42..8481e1c1916d 100644 --- a/audio/rat/Makefile +++ b/audio/rat/Makefile @@ -31,10 +31,6 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - .if ${OSVERSION} >= 400014 ENABLE_IPv6= --enable-ipv6 .endif diff --git a/audio/rat/files/patch-rat_configure.in b/audio/rat/files/patch-rat_configure.in new file mode 100644 index 000000000000..ec2bb83d0633 --- /dev/null +++ b/audio/rat/files/patch-rat_configure.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- rat/configure.in.orig ++++ rat/configure.in +@@ -147,7 +147,7 @@ + [EXTRAOBJ="$EXTRA_OBJ usleep.o" + AC_DEFINE(NEED_USLEEP)]) + +-AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) ++#AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) + + AC_SUBST(EXTRA_OBJ) + diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile index f26916805d42..8481e1c1916d 100644 --- a/mbone/rat/Makefile +++ b/mbone/rat/Makefile @@ -31,10 +31,6 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - .if ${OSVERSION} >= 400014 ENABLE_IPv6= --enable-ipv6 .endif diff --git a/mbone/rat/files/patch-rat_configure.in b/mbone/rat/files/patch-rat_configure.in new file mode 100644 index 000000000000..ec2bb83d0633 --- /dev/null +++ b/mbone/rat/files/patch-rat_configure.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- rat/configure.in.orig ++++ rat/configure.in +@@ -147,7 +147,7 @@ + [EXTRAOBJ="$EXTRA_OBJ usleep.o" + AC_DEFINE(NEED_USLEEP)]) + +-AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) ++#AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) + + AC_SUBST(EXTRA_OBJ) + |