Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 1999 19:07:11 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9329: [PATCH] teach xdaliclock to honour local CFLAGS
Message-ID:  <12361.915556031@axl.noc.iafrica.com>

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

>Number:         9329
>Category:       ports
>Synopsis:       [PATCH] teach xdaliclock to honour local CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  5 09:10:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
UUNET Internet Africa
>Environment:

	N/A

>Description:

	The port for xdaliclock-2.13 ignores local CFLAGS, blindly using
	"-O2".

>How-To-Repeat:

	cd ${PORTSDIR}/x11-clocks/xdaliclock ; make

>Fix:

	The following patch teaches the xdaliclock port to honour local
	CFLAGS in spite of Imake brain-deadness.

diff -urN ports/x11-clocks/xdaliclock.orig/Makefile ports/x11-clocks/xdaliclock/Makefile
--- ports/x11-clocks/xdaliclock.orig/Makefile	Tue Jan  5 19:00:29 1999
+++ ports/x11-clocks/xdaliclock/Makefile	Tue Jan  5 19:00:17 1999
@@ -17,4 +17,6 @@
 USE_IMAKE=	yes
 MAN1=		xdaliclock.1
 
+MAKE_ENV=	LOCAL_CFLAGS="${CFLAGS}"
+
 .include <bsd.port.mk>
diff -urN ports/x11-clocks/xdaliclock.orig/patches/patch-aa ports/x11-clocks/xdaliclock/patches/patch-aa
--- ports/x11-clocks/xdaliclock.orig/patches/patch-aa	Thu Jan  1 02:00:00 1970
+++ ports/x11-clocks/xdaliclock/patches/patch-aa	Tue Jan  5 19:00:17 1999
@@ -0,0 +1,11 @@
+--- Imakefile.orig	Tue Jan  5 18:34:08 1999
++++ Imakefile	Tue Jan  5 18:32:05 1999
+@@ -39,6 +39,8 @@
+ /**/#COMPRESS_EXT = Z
+                SH = /bin/sh
+              STAR = *
++    CXXDEBUGFLAGS = $(LOCAL_CFLAGS)
++      CDEBUGFLAGS = $(LOCAL_CFLAGS)
+ 
+ all::
+ 
>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?12361.915556031>