Bug 66375 - Revised port: mail/dsbl-testers
Summary: Revised port: mail/dsbl-testers
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: 2004-05-08 11:10 UTC by Dean Hollister
Modified: 2004-05-12 03:24 UTC (History)
0 users

See Also:


Attachments
file.diff (1.00 KB, patch)
2004-05-08 11:10 UTC, Dean Hollister
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Hollister 2004-05-08 11:10:17 UTC
Revised port: mail/dsbl-testers. This revision fixes build failure on i386, due to firestring 
dependency that now requires GCC 3.2 / C99 support.
Comment 1 Dean Hollister 2004-05-09 03:41:44 UTC
>Category:       ports
>Responsible:    freebsd-ports-bugs
>Synopsis:       Revised port: mail/dsbl-testers
>Arrival-Date:   Sat May 08 03:10:17 PDT 2004

Please note, revised patch follows. Please commit the following only.
There was a missing header in a file, causing the compile to break.

Regards,

d.

diff -ruN dsbl-testers.orig/Makefile dsbl-testers/Makefile
--- dsbl-testers.orig/Makefile	Sun Feb  1 10:12:20 2004
+++ dsbl-testers/Makefile	Sun May  9 10:34:22 2004
@@ -7,8 +7,9 @@

 PORTNAME=	dsbl-testers
 PORTVERSION=	0.9.5
+PORTREVISION=	1
 CATEGORIES=	mail
-MASTER_SITES=	http://firestuff.org/projects/ \
+MASTER_SITES=	http://www.firestuff.org/projects/ \
 		http://www.wa.apana.org.au/~dean/sources/ \
 		ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/

@@ -19,8 +20,6 @@
 		${LOCALBASE}/include/firedns.h:${PORTSDIR}/dns/firedns

 HAS_CONFIGURE=	yes
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
-		LIBS="${LIBS} ${PTHREAD_LIBS}" PREFIX="${PREFIX}"
 INSTALL_SHLIBS=	yes

 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -31,6 +30,8 @@

 post-patch:
 	@-${RM} ${WRKSRC}/firemake/*.orig
+	@-${RM} ${WRKSRC}/firedns/firemake/*.orig
+	@-${RM} ${WRKSRC}/firestring/firemake/*.orig

 # install ourselves to insure proper ownership/permissions
 # as dictated by port's rules
diff -ruN dsbl-testers.orig/files/patch-firedns_firemake_makefiletop dsbl-testers/files/patch-firedns_firemake_makefiletop
--- dsbl-testers.orig/files/patch-firedns_firemake_makefiletop	Thu Jan  1 08:00:00 1970
+++ dsbl-testers/files/patch-firedns_firemake_makefiletop	Sun May  9 01:10:26 2004
@@ -0,0 +1,11 @@
+--- firedns/firemake/makefiletop.orig	Sun May  9 01:00:55 2004
++++ firedns/firemake/makefiletop	Sun May  9 01:01:03 2004
+@@ -3,7 +3,7 @@
+ #require make
+ #phase makefile
+ dispn "Writing Makefile top entries..."
+-if test "$MAKE_CONDSET" = "y"; then
++if test "$MAKE_CONDSET" = "never"; then
+ 	$ECHO "PREFIX ?= $FM_PREFIX"
+
+ 	if test "$FM_MANDIRSTRICT" = "y"; then
diff -ruN dsbl-testers.orig/files/patch-firedns_tester.c dsbl-testers/files/patch-firedns_tester.c
--- dsbl-testers.orig/files/patch-firedns_tester.c	Thu Jan  1 08:00:00 1970
+++ dsbl-testers/files/patch-firedns_tester.c	Sun May  9 10:32:05 2004
@@ -0,0 +1,10 @@
+--- firedns/tester.c.orig	Sun May  9 10:29:54 2004
++++ firedns/tester.c	Sun May  9 10:30:18 2004
+@@ -1,6 +1,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <netdb.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <sys/time.h>
diff -ruN dsbl-testers.orig/files/patch-firemake_makefiletop dsbl-testers/files/patch-firemake_makefiletop
--- dsbl-testers.orig/files/patch-firemake_makefiletop	Sun Feb  1 07:25:50 2004
+++ dsbl-testers/files/patch-firemake_makefiletop	Sun May  9 01:11:07 2004
@@ -1,5 +1,5 @@
---- firemake/makefiletop.orig	Sun Feb  1 02:04:08 2004
-+++ firemake/makefiletop	Sun Feb  1 02:04:51 2004
+--- firemake/makefiletop.orig	Sun May  9 01:05:56 2004
++++ firemake/makefiletop	Sun May  9 01:06:03 2004
 @@ -3,7 +3,7 @@
  #require make
  #phase makefile
diff -ruN dsbl-testers.orig/files/patch-firestring_firemake_makefiletop dsbl-testers/files/patch-firestring_firemake_makefiletop
--- dsbl-testers.orig/files/patch-firestring_firemake_makefiletop	Thu Jan  1 08:00:00 1970
+++ dsbl-testers/files/patch-firestring_firemake_makefiletop	Sun May  9 01:11:46 2004
@@ -0,0 +1,11 @@
+--- firestring/firemake/makefiletop.orig	Sun May  9 01:02:34 2004
++++ firestring/firemake/makefiletop	Sun May  9 01:03:05 2004
+@@ -3,7 +3,7 @@
+ #require make
+ #phase makefile
+ dispn "Writing Makefile top entries..."
+-if test "$MAKE_CONDSET" = "y"; then
++if test "$MAKE_CONDSET" = "never"; then
+ 	$ECHO "PREFIX ?= $FM_PREFIX"
+
+ 	if test "$FM_MANDIRSTRICT" = "y"; then
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-05-12 03:24:42 UTC
State Changed
From-To: open->closed

Committed, thanks.