Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2014 03:01:42 GMT
From:      Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190442: [MAINTAINER-UPDATE][PATCH] please update math/openblas (add stage support)
Message-ID:  <201405310301.s4V31gJZ034510@cgiserv.freebsd.org>
Resent-Message-ID: <201405310310.s4V3A0Uu061033@freefall.freebsd.org>

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

>Number:         190442
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE][PATCH] please update math/openblas (add stage support)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 31 03:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Eijiro Shibusawa
>Release:        FreeBSD 10.0-RELEASE
>Organization:
>Environment:
FreeBSD myhost 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Attached patch fixes NO_STAGE issue.

NOTE:
- This port was tested with tinderbox.
tinderbox logs are available at redports.org.
https://redports.org/buildarchive/20140531024002-11987/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ur /usr/ports/math/openblas/./Makefile ./Makefile
--- /usr/ports/math/openblas/./Makefile	2014-03-11 05:55:20.000000000 +0900
+++ ./Makefile	2014-05-31 11:38:11.000000000 +0900
@@ -48,7 +48,6 @@
 OPTIONS_DEFAULT=	DYNAMIC_ARCH
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if defined(TARGET_CPU_ARCH)
@@ -160,8 +159,8 @@
 do-install:
 	cd ${WRKDIR}/lib ; \
 	${INSTALL_DATA} ${OPENBLAS_LIBS:S|$|.a|} ${OPENBLAS_LIBS:S|$|.so.${OPENBLAS_SVER}|} \
-	${PREFIX}/lib/
-	cd ${PREFIX}/lib ; \
+	${STAGEDIR}${PREFIX}/lib/
+	cd ${STAGEDIR}${PREFIX}/lib ; \
 	for i in ${OPENBLAS_LIBS:S|$|.so|}; do \
 		${LN} -sf $$i.${OPENBLAS_SVER} $$i ; \
 	done


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



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