summaryrefslogtreecommitdiff
path: root/lang/spidermonkey170
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-08-24 13:09:11 +0000
committerJohn Marino <marino@FreeBSD.org>2015-08-24 13:09:11 +0000
commit6ac25a6c09c4c8787294bce64a278fa85849fec8 (patch)
tree9bafc4b6dea1dadb35054de3730646c20d9e9af0 /lang/spidermonkey170
parentAdd an optional error message for opt_PREVENTS, opt_PREVENTS_MSG. (diff)
lang/spidermonkey170: Adjust CONFIGURE_TARGET for DragonFly
Approved by: kwm (maintainer)
Notes
Notes: svn path=/head/; revision=395171
Diffstat (limited to 'lang/spidermonkey170')
-rw-r--r--lang/spidermonkey170/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/lang/spidermonkey170/Makefile b/lang/spidermonkey170/Makefile
index 98b3c20cba7f..01b51ff2f7cb 100644
--- a/lang/spidermonkey170/Makefile
+++ b/lang/spidermonkey170/Makefile
@@ -57,9 +57,7 @@ UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8
.include <bsd.port.pre.mk>
-.if ${ARCH} == amd64
-CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
-.endif
+CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
.if ${PORT_OPTIONS:MDTRACE}
. if ${OSVERSION} < 1000510