1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/yasm/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

44 lines
893 B
Makefile

# ex:ts=8
# Ports collection makefile for: yasm
# Date created: Apr 7, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= yasm
PORTVERSION= 1.1.0
CATEGORIES= devel lang
MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
MAINTAINER= johnson.peter@gmail.com
COMMENT= A complete rewrite of the NASM assembler
LICENSE= BSD
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-python --disable-python-bindings
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
CFLAGS:= ${CFLAGS:C/-O[0-9]//g}
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls --without-libiconv-prefix --without-libintl-prefix
.else
USE_GETTEXT= yes
USE_ICONV= yes
.endif
INSTALL_TARGET= install install-man
MAN1= yasm.1
MAN7= yasm_arch.7 yasm_dbgfmts.7 yasm_objfmts.7 yasm_parsers.7
.include <bsd.port.post.mk>