pkgsrc/devel/yasm/Makefile
wiz 431ff26f85 Update to 1.3.0:
Changes from 1.2.0 to 1.3.0:

    Add AMD TBM instructions.
    Add HSW TSX instructions.
    Fix âpmulhrwâ, âvphaddudqâ, and âvpbroadcastqâ instructions.
    Add Intel SHA, ADX, RDSEED, and SMAP instructions.
    Use a larger hash table size in NASM macro handling.
    Add support for x32 ABI (called âelfx32â).
    Add support for âfunctionâ decorator in win32/win64 object
    files.
    In Mach-O, only warn on repeated flags if the new flags are
    different.
2014-08-17 16:37:56 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2014/08/17 16:37:56 wiz Exp $
DISTNAME= yasm-1.3.0
CATEGORIES= devel
MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
MAINTAINER= shaun@inerd.com
HOMEPAGE= http://www.tortall.net/projects/yasm/
COMMENT= Complete rewrite of the NASM assembler with BSD license
LICENSE= modified-bsd AND (artistic OR gnu-gpl-v2 OR gnu-lgpl-v2)
USE_TOOLS+= msgfmt
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
# Commit message suggests this is Darwin-specific. Won't work to
# cross-compile to Darwin, but that doesn't work at all anyway.
.if ${OPSYS} == "Darwin"
SUBST_CLASSES+= link
SUBST_STAGE.link= pre-configure
SUBST_MESSAGE.link= Fix linking command.
SUBST_FILES.link= Makefile.in
SUBST_SED.link= -e 's,$$(CCLD_FOR_BUILD) -o $$@,$$(LINK) -o $$@,'
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
CONFIGURE_ENV+= CCLD_FOR_BUILD=${NATIVE_CC:Q}
.endif
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"