diff options
author | jperkin <jperkin> | 2016-02-25 12:12:47 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 12:12:47 +0000 |
commit | 3a70c0173e37135aa50a886d704a292ffb80ffbc (patch) | |
tree | f1a4fb72a51c4774071ccedf5be918c6f34c117a /editors | |
parent | 54b4f94ac7f84178e0baa33b1f49b39c557442af (diff) | |
download | pkgsrc-3a70c0173e37135aa50a886d704a292ffb80ffbc.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs21/Makefile.common | 6 | ||||
-rw-r--r-- | editors/emacs23/Makefile.common | 6 | ||||
-rw-r--r-- | editors/ve/Makefile | 8 |
3 files changed, 6 insertions, 14 deletions
diff --git a/editors/emacs21/Makefile.common b/editors/emacs21/Makefile.common index 0ebe8940a91..deb05974c38 100644 --- a/editors/emacs21/Makefile.common +++ b/editors/emacs21/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.15 2013/10/27 20:47:53 joerg Exp $ +# $NetBSD: Makefile.common,v 1.16 2016/02/25 12:22:40 jperkin Exp $ # # used by editors/emacs21/Makefile # used by editors/emacs21-nox11/Makefile @@ -73,9 +73,7 @@ PLIST_SUBST+= DOCTAIL="-${EMACSVERSION}.1" .endif # Disable W^X. -.if ${OPSYS} == "OpenBSD" -LDFLAGS+= -Z -.endif +LDFLAGS.OpenBSD+= -Z .include "../../mk/compiler.mk" .if !empty(CC_VERSION:Mgcc-3.*) 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) diff --git a/editors/ve/Makefile b/editors/ve/Makefile index f832b7232c3..6ae8f632de5 100644 --- a/editors/ve/Makefile +++ b/editors/ve/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/02/24 13:13:08 wiedi Exp $ +# $NetBSD: Makefile,v 1.7 2016/02/25 12:22:40 jperkin Exp $ DISTNAME= ve-1.0 CATEGORIES= editors @@ -11,11 +11,7 @@ COMMENT= NTHU-CS Maple BBS 2.36 BBS-like editor INSTALLATION_DIRS= bin -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -BUILDLINK_TRANSFORM+= rm:-lcompat -.endif +BUILDLINK_TRANSFORM.SunOS+= rm:-lcompat post-patch: ${SED} "s,/usr/local,${PREFIX},g" ${WRKSRC}/edit.c > ${WRKSRC}/edit.c.done |