Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2013 11:42:25 GMT
From:      Andrew White <andywhite@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/185153: ipfilter Makefile error
Message-ID:  <201312241142.rBOBgPgv002581@oldred.freebsd.org>
Resent-Message-ID: <201312241150.rBOBo0GQ074518@freefall.freebsd.org>

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

>Number:         185153
>Category:       bin
>Synopsis:       ipfilter Makefile error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 24 11:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Andrew White
>Release:        freebsd 10 rc2
>Organization:
>Environment:
FreeBSD fbuilder 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 11:45:13 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
/usr/src/contrib/ipfilter/Makefile doesn't handle double digits in freebsd version

freebsd:
        make freebsd`uname -r|cut -c1`

needs to be more portable like

freebsd:
        make freebsd`uname -r|cut -d'.' -f1`
>How-To-Repeat:
# make freebsd
make freebsd`uname -r|cut -c1`
make[1]: don't know how to make freebsd1. Stop

make[1]: stopped in /usr/src/contrib/ipfilter
*** Error code 2

Stop.
make: stopped in /usr/src/contrib/ipfilter

>Fix:
update Makefile to get version number up to '.'

freebsd:
        make freebsd`uname -r|cut -d'.' -f1`

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



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