ports/91013: sysutils/portsnap doesn't compile on FreeBSD 4.4
Lapo Luchini
lapo at lapo.it
Wed Dec 28 11:50:04 UTC 2005
>Number: 91013
>Category: ports
>Synopsis: sysutils/portsnap doesn't compile on FreeBSD 4.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 28 11:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Lapo Luchini
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cyberx.home.lapo.it 6.0-STABLE FreeBSD 6.0-STABLE #52: Mon Dec 26 16:33:48 CET 2005 root at cyberx.home.lapo.it:/usr/obj/usr/src/sys/CYBERX i386
>Description:
FreeBSD 4.4 lacks strnstr() support, which cvsweb shows as present starting from 4.5.
>How-To-Repeat:
cd /usr/ports/sysutils/portsnap
make
>Fix:
--- portsnap-on-4.4.diff begins here ---
--- Makefile.orig Wed Dec 28 12:35:37 2005
+++ Makefile Wed Dec 28 12:37:15 2005
@@ -17,6 +17,10 @@
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 450000
+BROKEN= "FreeBSD prior to 4.5 lacks strnstr() support"
+.endif
+
.if ${OSVERSION} < 600021 && ( ${OSVERSION} < 504102 || ${OSVERSION} > 599999 )
RUN_DEPENDS+= sha256:${PORTSDIR}/sysutils/freebsd-sha256
.endif
--- portsnap-on-4.4.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list