GNU bug report logs - #3146
ns: mac-fix-env: CFLAGS / needed?

Previous Next

Packages: ns, emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Tue, 28 Apr 2009 15:10:04 UTC

Severity: normal

Done: Glenn Morris <rgm+emacsbugs <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: ns: mac-fix-env: CFLAGS / needed?
Date: Tue, 28 Apr 2009 11:03:22 -0400
[Message part 1 (text/plain, inline)]
the mac-fix-env program is compiled without the CFLAGS.  See patch  
below.

However, I believe the program is flawed in other ways, given that  
Leopard provides a method (using /etc/paths) to set the environment  
that, I believe, supersedes the former environment.plist technique.

If that is true, we should either fix mac-fix-env or get rid of it.   
(It's also duplicated functionality, given that there is an import  
function in Lisp for this).




diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 612cc94..ffdeacc 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -451,4 +451,4 @@ update-game-score.o: ${srcdir}/update-game- 
score.c ../src/config.h $(GETOPT_H)
 	  -DHAVE_SHARED_GAME_DIR="\"$(gamedir)\""

 mac-fix-env: ${srcdir}/mac-fix-env.m
-	$(CC) -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind -framework  
Foundation
+	$(CC) ${ALL_CFLAGS} -o mac-fix-env ${srcdir}/mac-fix-env.m -prebind - 
framework Foundation

[smime.p7s (application/pkcs7-signature, attachment)]

This bug report was last modified 16 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.