Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2010 07:09:53 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/153292: [exp-run]: DISTNAME= ${PORTNAME}-${PORTVERSION} is the default
Message-ID:  <201012190709.oBJ79rwd043483@frieza.p6m7g8.net>
Resent-Message-ID: <201012190710.oBJ7A3GI059300@freefall.freebsd.org>

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

>Number:         153292
>Category:       ports
>Synopsis:       [exp-run]: DISTNAME= ${PORTNAME}-${PORTVERSION} is the default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 19 07:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Oct 12 00:51:25 UTC 2010 root@frieza.p6m7g8.net:/usr/obj/usr/src/sys/FRIEZA amd64

>Description:
ports=$(
    find . -type f -name "Makefile"| \
    xargs grep DISTNAME= | \
    perl -lane 'print $F[0] if $F[1] =~ /^\$\{PORTNAME}-\${PORTVERSION}$/' | \
    awk -F: '{print $1}' |sed -e 's,/Makefile,,')

for port in $ports; do
  echo "============> $port"
  cd $PORTSDIR/$port
  sed -i '' -e '/^DISTNAME=/d' Makefile
  sudo make distclean makesum DISABLE_CONFLICTS=1 AP_IGNORE_VERSION_CHECK=1 DISABLE_VULNERABILITIES=1
donea

>How-To-Repeat:

>Fix:
http://people.freebsd.org/~pgollucci/FreeBSD/diffs/ds.diff

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



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