Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Oct 2003 16:32:46 +0300
From:      "Samy Al Bahra" <samy@kerneled.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58532: Fix net/ari-yahoo build on 5.X
Message-ID:  1067088753@beastie.freebsd.local
Resent-Message-ID: <200310251840.h9PIeDYa061049@freefall.freebsd.org>

| raw e-mail | index | archive | help

>Number:         58532
>Category:       ports
>Synopsis:       Fix net/ari-yahoo build on 5.X
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 25 11:40:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled 
>Environment:


System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003     samy@beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386  


>Description:


For some reason net/ari-yahoo does
not detect and include stdarg.h properly.
The attached patch forces these options.


>How-To-Repeat:


Build on a 5.X machine.


>Fix:


diff -ruN ari-yahoo/Makefile /tmp/ari-yahoo/Makefile
--- ari-yahoo/Makefile	Sat Oct 25 16:26:52 2003
+++ /tmp/ari-yahoo/Makefile	Sat Oct 25 16:26:31 2003
@@ -17,10 +17,4 @@
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN ari-yahoo/files/patch-Makefile.in /tmp/ari-yahoo/files/patch-Makefile.in
--- ari-yahoo/files/patch-Makefile.in	Thu Jan  1 03:00:00 1970
+++ /tmp/ari-yahoo/files/patch-Makefile.in	Sat Oct 25 16:25:33 2003
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Sat Oct 25 16:25:12 2003
++++ Makefile.in	Sat Oct 25 16:24:26 2003
+@@ -64,7 +64,7 @@
+ VERSION = @VERSION@
+ 
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -DHAVE_STDARGS -DHAVE_SNPRINTF
+ INCLUDES = -I$(srcdir) -I$(srcdir)/libyahoo
+ 
+ SUBDIRS = libyahoo



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1067088753>