summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-11-04 11:08:03 +0000
committerjperkin <jperkin>2013-11-04 11:08:03 +0000
commit97938cf3aba83ca6dfae698c8d08010d0487f358 (patch)
treef4e1bfc38215e1872d1c308e192d0263de966eed /editors
parent83db25430fe11282aeae3785183ce6372632d02e (diff)
downloadpkgsrc-97938cf3aba83ca6dfae698c8d08010d0487f358.tar.gz
Don't strip on older OSX, avoids 'malformed object' errors.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs23/Makefile.common6
-rw-r--r--editors/emacs24/Makefile.common6
2 files changed, 10 insertions, 2 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") && \
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") && \