Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 14:02:02 +0200 (CEST)
From:      Volker Stolz <vs@lambda.foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41231: lang/ghc/Makefile: no-profile patch
Message-ID:  <200208011202.g71C22Iv000426@lambda.foldr.org>

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

>Number:         41231
>Category:       ports
>Synopsis:       lang/ghc/Makefile: no-profile patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 01 05:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD lambda.foldr.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jun 24 02:08:09 PDT 2002 user@jail2.johncompanies.com:/usr/src/sys/compile/6300 i386


	
>Description:
Check NOPROFILE to see if profiled libraries are desired. Reduce build time & disk usage.
>How-To-Repeat:
n/a
>Fix:
Patch approved by maintainer:

--- Makefile.orig	Wed Jul 31 17:24:16 2002
+++ Makefile	Wed Jul 31 17:24:23 2002
@@ -49,6 +49,11 @@
 TMPDIR = ${WRKSRC}/tmp
 MAKE_ENV += TMPDIR=${TMPDIR}
 
+.if defined(NOPROFILE)
+post-extract:
+	@echo >>${WRKDIR}/ghc-${PORTVERSION}/mk/build.mk GhcLibWays=
+.endif
+
 pre-configure:
 	@(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
 	@(cd ${BOOT_DIR} && ${MAKE} in-place)

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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