summaryrefslogtreecommitdiff
path: root/editors/emacs24
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-11-04 11:08:03 +0000
committerjperkin <jperkin@pkgsrc.org>2013-11-04 11:08:03 +0000
commit9f2c1df2b33522c0df1afae79339a494b306bd17 (patch)
treef4e1bfc38215e1872d1c308e192d0263de966eed /editors/emacs24
parent9bf393eda763e52a4a25fd1807aca14e9b1b6b31 (diff)
downloadpkgsrc-9f2c1df2b33522c0df1afae79339a494b306bd17.tar.gz
Don't strip on older OSX, avoids 'malformed object' errors.
Diffstat (limited to 'editors/emacs24')
-rw-r--r--editors/emacs24/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/emacs24/Makefile.common b/editors/emacs24/Makefile.common
index ae5f05f91a4..de18e72619b 100644
--- a/editors/emacs24/Makefile.common
+++ b/editors/emacs24/Makefile.common
@@ -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 @@ 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") && \