Bug 76457

Summary: Doesn't compile on FreeBSD 6.0 SPARC64
Product: Ports & Packages Reporter: Ralf van der Enden <tremere>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pdns-2.9.17.diff none

Description Ralf van der Enden 2005-01-19 10:30:25 UTC
Marked BROKEN on FreeBSD 6.0 SPARC64 (doesn't compile)
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-01-20 12:27:42 UTC
Strange, the error doesn't really look arch-specific...

Volker
Comment 2 Ralf.vdEnden 2005-01-20 12:55:54 UTC
Okay. As Volker Stolz pointed out it might not be limited to just SPARC64,
so here's a new patch that sets the port to BROKEN on all FreeBSD 6.0
systems.

This is a _new_ patch, so please disregard the previous one:

--- pdns-2.9.17.diff begins here ---
diff -ruN powerdns.orig/Makefile powerdns/Makefile
--- powerdns.orig/Makefile	Tue Jan 18 23:34:22 2005
+++ powerdns/Makefile	Wed Jan 19 11:16:45 2005
@@ -30,6 +30,12 @@
 STARTUP_SCRIPT=	${PREFIX}/etc/rc.d/pdns.sh.sample
 LIBMAP_CONF=	/etc/libmap.conf

+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+BROKEN = Doesn't compile on FreeBSD 6.0
+.endif
+
 # use user config if possible
 .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
 .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
@@ -83,8 +89,6 @@
 .else
 PLIST_SUB+=		RECURSOR="@comment "
 .endif
-
-.include <bsd.port.pre.mk>

 .if defined(POWERDNS_WITH_RECURSOR)
 .if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000
--- pdns-2.9.17.diff ends here ---
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-02-01 10:06:53 UTC
State Changed
From-To: open->closed

Committed, thanks!