summaryrefslogtreecommitdiff
path: root/cross/gcc-mips-current
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 11:32:19 +0000
committerjperkin <jperkin>2016-02-25 11:32:19 +0000
commita1540fc5fac196add6ff5b3e148775b69e3297c9 (patch)
treeaf9d0a96105a8441f65f775cc3e4262d7d1e8333 /cross/gcc-mips-current
parent366d307e4ff9eb0e932e1db01c628775ef018955 (diff)
downloadpkgsrc-a1540fc5fac196add6ff5b3e148775b69e3297c9.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'cross/gcc-mips-current')
-rw-r--r--cross/gcc-mips-current/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/cross/gcc-mips-current/Makefile b/cross/gcc-mips-current/Makefile
index fd25f5d842d..89e354f1ee4 100644
--- a/cross/gcc-mips-current/Makefile
+++ b/cross/gcc-mips-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2015/06/12 10:48:35 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2016/02/25 11:35:33 jperkin Exp $
GCC_DIST_VERSION=4.9.2
GCC_PKGNAME= gcc-mips-${GCC_DIST_VERSION}
@@ -77,12 +77,8 @@ CONFIGURE_ARGS+= --enable-long-long
CONFIGURE_ARGS+= --with-local-prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --enable-threads=posix
CONFIGURE_ARGS+= --with-boot-ldflags=${BOOT_LDFLAGS:Q}
-.if ${OPSYS} == "NetBSD"
-MAKE_ENV+= ac_cv_func_clock_gettime=yes
-.endif
-.if ${OPSYS} == "DragonFly"
-CONFIGURE_ARGS+= --disable-bootstrap
-.endif
+MAKE_ENV.NetBSD+= ac_cv_func_clock_gettime=yes
+CONFIGURE_ARGS.DragonFly+= --disable-bootstrap
TARGET= mipsel--netbsd
CONFIGURE_ARGS+= --target=${TARGET}