Bug 76457 - Doesn't compile on FreeBSD 6.0 SPARC64
Summary: Doesn't compile on FreeBSD 6.0 SPARC64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 10:30 UTC by Ralf van der Enden
Modified: 2005-02-01 10:07 UTC (History)
0 users

See Also:


Attachments
pdns-2.9.17.diff (729 bytes, patch)
2005-01-19 10:30 UTC, Ralf van der Enden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!