Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 09:56:50 +0400 (MSD)
From:      Sergey Akifyev <asa@gascom.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53135: [FIX] incorrect patch for ports/poptop
Message-ID:  <200306100556.h5A5uoOq000513@asa.gascom.net.ru>
Resent-Message-ID: <200306100600.h5A60Vf5026086@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53135
>Category:       ports
>Synopsis:       [FIX] incorrect patch for ports/poptop
>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:   Mon Jun 09 23:00:31 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Akifyev
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
JSC Gascom
>Environment:
System: FreeBSD asa.gascom.net.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Fri May 16 11:18:03 MSD 2003 asa@boulder.gascom.ru:/usr/src/sys/compile/ASA i386

>Description:
	net/poptop doesn't build because of incorrect patching

>How-To-Repeat:
	cd /usr/ports/net/poptop && make install
	...
	Variable CFLAGS is recursive.
	** Error code 2

>Fix:
	Replace files/patch-ac with the following:
--- Makefile.am.orig    Sat May  3 17:55:55 2003
+++ Makefile.am Sat May  3 17:56:22 2003
@@ -11,7 +11,7 @@
 ##  warning with -Wmissing-prototypes).
 ## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers
 ##  aren't up to it).
-CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
+CFLAGS = -DSBINDIR='"$(sbindir)"' -DETCDIR='"$(sysconfdir)"'
 #CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"'
 #CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"'
>Release-Note:
>Audit-Trail:
>Unformatted:



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