Date: Sun, 29 Sep 2013 11:57:31 -0700 (PDT) From: Craig Leres <leres@ee.lbl.gov> To: FreeBSD-gnats-submit@freebsd.org Cc: leres@ee.lbl.gov Subject: ports/182493: [PATCH] math/mpfr: Remove gratuitous DIST_SUBDIR Message-ID: <201309291857.r8TIvVnj016894@fun.ee.lbl.gov> Resent-Message-ID: <201309291900.r8TJ00jP011820@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182493 >Category: ports >Synopsis: [PATCH] math/mpfr: Remove gratuitous DIST_SUBDIR >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 Sep 29 19:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Craig Leres >Release: FreeBSD 9.1-RELEASE amd64 >Organization: Lawrence Berkeley National Laboratory >Environment: System: FreeBSD fun.ee.lbl.gov 9.1-RELEASE FreeBSD 9.1-RELEASE #11 r26: Wed Sep 11 10:30:14 PDT 2013 leres@fun.ee.lbl.gov:/sys/amd64/compile/LBL amd64 >Description: math/mpfr forces the distfile to be stored in a subdirectory (which includes the PORTVERSION in its name); since only the one .tar.xz is needed to build the port it would be cleaner to use the default of /usr/ports/distfiles. >How-To-Repeat: fun 246 # ls -l /usr/ports/distfiles/mpfr-3.1.2 total 1072 -rw-r--r-- 1 root src 1074388 Mar 13 2013 mpfr-3.1.2.tar.xz >Fix: Please see the attached patch. --- patch.txt begins here --- --- Makefile.orig 2013-09-24 00:32:37.000000000 -0700 +++ Makefile 2013-09-29 11:41:40.000000000 -0700 @@ -5,7 +5,6 @@ PORTVERSION= 3.1.2 CATEGORIES= math devel MASTER_SITES= http://www.mpfr.org/mpfr-current/ -DIST_SUBDIR= ${DISTNAME} PATCH_SITES= ${MASTER_SITES} PATCH_DIST_STRIP= -p1 --- distinfo.orig 2013-09-29 11:43:29.000000000 -0700 +++ distinfo 2013-09-29 11:43:58.000000000 -0700 @@ -1,2 +1,2 @@ -SHA256 (mpfr-3.1.2/mpfr-3.1.2.tar.xz) = 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b -SIZE (mpfr-3.1.2/mpfr-3.1.2.tar.xz) = 1074388 +SHA256 (mpfr-3.1.2.tar.xz) = 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b +SIZE (mpfr-3.1.2.tar.xz) = 1074388 --- patch.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309291857.r8TIvVnj016894>