summaryrefslogtreecommitdiff
path: root/editors/emacs23
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-11-04 11:08:03 +0000
committerjperkin <jperkin>2013-11-04 11:08:03 +0000
commit413232acd6a682f9e3182d76b7658a08e6612d76 (patch)
treef4e1bfc38215e1872d1c308e192d0263de966eed /editors/emacs23
parent2fe28d0616797f354fa8a2d8fffbd0986a043e07 (diff)
downloadpkgsrc-413232acd6a682f9e3182d76b7658a08e6612d76.tar.gz
Don't strip on older OSX, avoids 'malformed object' errors.
Diffstat (limited to 'editors/emacs23')
-rw-r--r--editors/emacs23/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/emacs23/Makefile.common b/editors/emacs23/Makefile.common
index 02c44258b23..f915d09dc2b 100644
--- a/editors/emacs23/Makefile.common
+++ b/editors/emacs23/Makefile.common
@@ -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 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION}
# 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") && \