Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 21:49:38 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125550: science/netcdf add regression-target
Message-ID:  <200807122149.m6CLncAn031329@www.freebsd.org>
Resent-Message-ID: <200807122150.m6CLo2ph047375@freefall.freebsd.org>

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

>Number:         125550
>Category:       ports
>Synopsis:       science/netcdf add regression-target
>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:   Sat Jul 12 21:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6-3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64

>Description:
- Add regression-target since the port recommends running the checks before installing.
- Minor cleanup to the MASTERSITE: it must be noted the main site has changed the distfiles so the distinfo doesn't match the sunpoet's mirror.
- No functional change.
>How-To-Repeat:

>Fix:
diff -ruN netcdf.orig/Makefile netcdf/Makefile
--- netcdf.orig/Makefile	2008-07-12 15:21:21.000000000 -0500
+++ netcdf/Makefile	2008-07-12 15:33:41.000000000 -0500
@@ -8,9 +8,8 @@
 PORTNAME=	netcdf
 PORTVERSION=	3.6.3
 CATEGORIES=	science
-MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/netcdf/%SUBDIR%/ \
+MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/netcdf/	\
 		http://sunpoet.net/distfiles/
-MASTER_SITE_SUBDIR=	. old
 
 MAINTAINER=	sunpoet@sunpoet.net
 COMMENT=	Library for machine-independent, array-oriented data access
@@ -40,4 +39,7 @@
 .endfor
 .endif
 
+regression-test: build
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
+
 .include <bsd.port.mk>


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



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