diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2007-09-23 12:09:30 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2007-09-23 12:09:30 +0000 |
commit | 7c762a049cc19a8c976b641eb9c6f4f43aa45fbf (patch) | |
tree | 9a102822fefa0606a0ab7ed0d14145f59726b755 /lang/fasm/Makefile | |
parent | 6b453fa43c626ca781485b768190b5fd684ca040 (diff) |
Update to 1.67.23
PR: ports/115802
Submitted by: bf <bf2006a xxx yahoo.com>
Notes
Notes:
svn path=/head/; revision=199980
Diffstat (limited to 'lang/fasm/Makefile')
-rw-r--r-- | lang/fasm/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lang/fasm/Makefile b/lang/fasm/Makefile index 523458e0b8cb..4b7c1097a0d6 100644 --- a/lang/fasm/Makefile +++ b/lang/fasm/Makefile @@ -6,18 +6,27 @@ # PORTNAME= fasm -PORTVERSION= 1.67.21 +PORTVERSION= 1.67.23 CATEGORIES= lang devel MASTER_SITES= http://flatassembler.net/ -DISTNAME= ${PORTNAME}-1.67 MAINTAINER= skv@FreeBSD.org COMMENT= Flat, multiple-pass assembler for IA-32 & x86-64 architectures -ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS= i386 amd64 ia64 WRKSRC= ${WRKDIR}/${PORTNAME} +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +.if exists(/usr/lib32) +CFLAGS= -m32 -L/usr/lib32 -B/usr/lib32 +.else +IGNORE= requires 32-bit libraries installed under /usr/lib32 +.endif +.endif + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} fasm.o -o fasm @@ -29,4 +38,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |