1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- ARCH is defined in bsd.port.pre.mk.

This commit is contained in:
Florent Thoumie 2005-04-11 09:47:42 +00:00
parent f55ece472b
commit 2e1df579b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133018

View File

@ -16,10 +16,6 @@ COMMENT= Free lossless audio codec
LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
.if ${ARCH} == "i386"
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
.endif
USE_ICONV= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
@ -39,6 +35,12 @@ MAKE_ENV= DOC=doc
INSTALLS_SHLIB= yes
MAN1= flac.1 metaflac.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
.endif
# "obj" is magic to our make(1)
post-configure:
@${RM} -rf ${WRKSRC}/obj
@ -49,4 +51,4 @@ post-build:
test: build
@cd ${WRKSRC}; ${MAKE} check
.include <bsd.port.mk>
.include <bsd.port.post.mk>