summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2007-09-23 12:09:30 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2007-09-23 12:09:30 +0000
commit7c762a049cc19a8c976b641eb9c6f4f43aa45fbf (patch)
tree9a102822fefa0606a0ab7ed0d14145f59726b755 /lang
parent[UPDATE]mail/cclient. The problem with the assembly of some ports (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')
-rw-r--r--lang/fasm/Makefile17
-rw-r--r--lang/fasm/distinfo6
2 files changed, 16 insertions, 7 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>
diff --git a/lang/fasm/distinfo b/lang/fasm/distinfo
index 21297b0d4840..ee16202030bb 100644
--- a/lang/fasm/distinfo
+++ b/lang/fasm/distinfo
@@ -1,3 +1,3 @@
-MD5 (fasm-1.67.tar.gz) = 95a11669c1d28e9de5b2aa2c45a216e0
-SHA256 (fasm-1.67.tar.gz) = 9581aad3e1aa733a0a0d4b7ecead51a1d1d73b8a1d63291a7b40f7d4e96ce5a8
-SIZE (fasm-1.67.tar.gz) = 186423
+MD5 (fasm-1.67.23.tar.gz) = 09ecc6a15a7e60bc943548f428e3e925
+SHA256 (fasm-1.67.23.tar.gz) = 841c4e0ecf38195c2b5bb9b65cbfb4d34e48343391d1af732c836d3802a1b66d
+SIZE (fasm-1.67.23.tar.gz) = 183203