pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors Don't strip on older OSX, avoids 'malformed ob...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e635d6a12bfe
branches:  trunk
changeset: 626205:e635d6a12bfe
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 04 11:08:03 2013 +0000

description:
Don't strip on older OSX, avoids 'malformed object' errors.

diffstat:

 editors/emacs23/Makefile.common |  6 +++++-
 editors/emacs24/Makefile.common |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r ed559a868ece -r e635d6a12bfe editors/emacs23/Makefile.common
--- a/editors/emacs23/Makefile.common   Mon Nov 04 09:38:26 2013 +0000
+++ b/editors/emacs23/Makefile.common   Mon Nov 04 11:08:03 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2013/10/27 20:47:53 joerg Exp $
+# $NetBSD: Makefile.common,v 1.4 2013/11/04 11:09:40 jperkin Exp $
 #
 # used by editors/emacs23/Makefile
 # used by editors/emacs23-nox11/Makefile
@@ -58,6 +58,10 @@
 # upstream bug #8395.  Details in:
 # http://lists.gnu.org/archive/html/emacs-bug-tracker/2011-07/msg00445.html
 CFLAGS+=               -fno-pie
+# Avoid 'malformed object' errors with older Xcode.
+.  if ${OS_VERSION:R} < 11
+INSTALL_UNSTRIPPED=    yes
+.  endif
 .endif
 
 .if (${OPSYS} == "NetBSD") && \
diff -r ed559a868ece -r e635d6a12bfe editors/emacs24/Makefile.common
--- a/editors/emacs24/Makefile.common   Mon Nov 04 09:38:26 2013 +0000
+++ b/editors/emacs24/Makefile.common   Mon Nov 04 11:08:03 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2013/10/27 20:47:53 joerg Exp $
+# $NetBSD: Makefile.common,v 1.7 2013/11/04 11:08:03 jperkin Exp $
 #
 # used by editors/emacs24/Makefile
 # used by editors/emacs24-nox11/Makefile
@@ -58,6 +58,10 @@
 # upstream bug #8395.  Details in:
 # http://lists.gnu.org/archive/html/emacs-bug-tracker/2011-07/msg00445.html
 CFLAGS+=               -fno-pie
+# Avoid 'malformed object' errors with older Xcode.
+.  if ${OS_VERSION:R} < 11
+INSTALL_UNSTRIPPED=    yes
+.  endif
 .endif
 
 .if (${OPSYS} == "NetBSD") && \



Home | Main Index | Thread Index | Old Index