Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 22:05:41 +0100 (BST)
From:      Chris Rees <crees@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171756: [PATCH] databases/hiredis Stop setting ARCH
Message-ID:  <20120918210541.CA28517691@pegasus.bayofrum.net>
Resent-Message-ID: <201209182110.q8ILA8Xt082105@freefall.freebsd.org>

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

>Number:         171756
>Category:       ports
>Synopsis:       [PATCH] databases/hiredis Stop setting ARCH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 21:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD pegasus.bayofrum.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sun Apr 29 12:29:02 BST 2012 root@pegasus.bayofrum.net:/usr/obj/usr/src/sys/PEGASUS amd64


	
>Description:
	ARCH shouldn't be set in ports Makefiles!  This patch
	removes references to ARCH in upstream's Makefile.
>How-To-Repeat:
	
>Fix:

	

--- hiredis-atch.diff begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 304465)
+++ Makefile	(working copy)
@@ -19,9 +19,11 @@
 GH_TAGNAME=	v${DISTVERSION}
 GH_COMMIT=	0fff0f1
 
-ARCH=
 USE_GMAKE=	yes
 CFLAGS+=	-fPIC
 USE_LDCONFIG=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^REAL_/s/ \$$(ARCH)//' ${WRKSRC}/Makefile
+
 .include <bsd.port.mk>
--- hiredis-atch.diff ends here ---


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



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