summaryrefslogtreecommitdiff
path: root/editors/emacs23
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 12:12:47 +0000
committerjperkin <jperkin>2016-02-25 12:12:47 +0000
commit3a70c0173e37135aa50a886d704a292ffb80ffbc (patch)
treef1a4fb72a51c4774071ccedf5be918c6f34c117a /editors/emacs23
parent54b4f94ac7f84178e0baa33b1f49b39c557442af (diff)
downloadpkgsrc-3a70c0173e37135aa50a886d704a292ffb80ffbc.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'editors/emacs23')
-rw-r--r--editors/emacs23/Makefile.common6
1 files changed, 2 insertions, 4 deletions
diff --git a/editors/emacs23/Makefile.common b/editors/emacs23/Makefile.common
index c1265df8de4..701ad04c805 100644
--- a/editors/emacs23/Makefile.common
+++ b/editors/emacs23/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2015/09/07 12:02:05 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.7 2016/02/25 12:22:40 jperkin Exp $
#
# used by editors/emacs23/Makefile
# used by editors/emacs23-nox11/Makefile
@@ -53,12 +53,10 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION}
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "Darwin")
# Disable address randomization to fix build with Xcode 4.1. This is from
# upstream bug #8395. Details in:
# http://lists.gnu.org/archive/html/emacs-bug-tracker/2011-07/msg00445.html
-CFLAGS+= -fno-pie
-.endif
+CFLAGS.Darwin+= -fno-pie
.if (${OPSYS} == "NetBSD") && \
!exists(/usr/lib/libgcc_s.so) && !exists(/usr/lib/libgcc.a)