aboutsummaryrefslogtreecommitdiffstats
path: root/devel/asmutils
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 01:24:16 +0800
committerleeym <leeym@FreeBSD.org>2004-02-08 01:24:16 +0800
commite24dbcf1aacaa60c72f973456a9238e7b3cf416d (patch)
tree21672de3113b3d64ed7a04d6ed4b65011bfa64fe /devel/asmutils
parentfee233751aa1ae0fc65c4656fd9768f3acecfe3d (diff)
downloadfreebsd-ports-graphics-e24dbcf1aacaa60c72f973456a9238e7b3cf416d.tar.gz
freebsd-ports-graphics-e24dbcf1aacaa60c72f973456a9238e7b3cf416d.tar.zst
freebsd-ports-graphics-e24dbcf1aacaa60c72f973456a9238e7b3cf416d.zip
update to asmutils-0.17, keep up with nasm-0.98.38, and unbreak this port.
Diffstat (limited to 'devel/asmutils')
-rw-r--r--devel/asmutils/Makefile24
-rw-r--r--devel/asmutils/distinfo4
-rw-r--r--devel/asmutils/files/patch-MCONFIG22
-rw-r--r--devel/asmutils/pkg-plist14
4 files changed, 27 insertions, 37 deletions
diff --git a/devel/asmutils/Makefile b/devel/asmutils/Makefile
index f19fd2f26f8..2fa99ecaaf3 100644
--- a/devel/asmutils/Makefile
+++ b/devel/asmutils/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= asmutils
-PORTVERSION= 0.14
-PORTREVISION= 1
+PORTVERSION= 0.17
+PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://linuxassembly.org/asmutils/
@@ -30,14 +30,9 @@ BINARIES= asmutils basename cat chmod chown chroot cp cpuinfo date \
mkdir more mv nc ping pwd rc6crypt renice report rm rmdsum \
sh sleep strings sync tee true uname wc yes
-DOCFILES= Asmutils-HOWTO acknowledgements endorsements history \
- index s-contrib s-debug s-include s-layout s-optimize
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile"
-.endif
+PORTDOCS= Asmutils-HOWTO.html acknowledgements.html endorsements.html \
+ history.html index.html s-contrib.html s-debug.html \
+ s-include.html s-layout.html s-optimize.html
post-patch:
@(${SED} -e 's,%%KERNEL%%,${OSREL:S/.//g},g' ${WRKSRC}/MCONFIG > ${WRKDIR}/foo \
@@ -59,13 +54,12 @@ do-install:
${LN} -sf ln sln)
.for L in c crypto m
${INSTALL_PROGRAM} ${WRKSRC}/lib/lib$L.so.0 ${PREFIX}/lib/asmutils
- ${INSTALL_DATA} ${WRKSRC}/lib/lib$L.a ${PREFIX}/lib/asmutils
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/asmutils
-.for D in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/doc/$D.html ${PREFIX}/share/doc/asmutils
+ ${MKDIR} ${DOCSDIR}
+.for D in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/$D ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/asmutils/distinfo b/devel/asmutils/distinfo
index 0dde3265be7..e32204e48c9 100644
--- a/devel/asmutils/distinfo
+++ b/devel/asmutils/distinfo
@@ -1,2 +1,2 @@
-MD5 (asmutils-0.14.tar.gz) = 9fac89195bc43e38224695e11f27ba10
-SIZE (asmutils-0.14.tar.gz) = 180226
+MD5 (asmutils-0.17.tar.gz) = 9027cff8f8f50cf4fa9b0e62fc4a8854
+SIZE (asmutils-0.17.tar.gz) = 332675
diff --git a/devel/asmutils/files/patch-MCONFIG b/devel/asmutils/files/patch-MCONFIG
index 274c2485091..25ea1fdd888 100644
--- a/devel/asmutils/files/patch-MCONFIG
+++ b/devel/asmutils/files/patch-MCONFIG
@@ -1,15 +1,25 @@
---- MCONFIG.orig Sat Mar 10 21:03:55 2001
-+++ MCONFIG Sat Mar 10 21:04:12 2001
-@@ -12,11 +12,11 @@
-
- # Target Operating System (LINUX/FREEBSD/NETBSD/OPENBSD/BEOS/ATHEOS/LIBC)
+--- MCONFIG.orig Fri Mar 15 01:42:46 2002
++++ MCONFIG Sun Feb 8 01:06:18 2004
+@@ -13,11 +13,11 @@
+ # Target operating system. Valid values are:
+ # LINUX FREEBSD OPENBSD NETBSD SOLARIS UNIXWARE BEOS ATHEOS
-OS = LINUX
+OS = FREEBSD
- # Kernel version (1.2 = 12, 2.4 = 24, 3.6 = 36, etc)
+ # Kernel version of target OS (1.2 = 12, 2.4 = 24, 3.6 = 36, etc)
-KERNEL = 24
+KERNEL = %%KERNEL%%
# Optimization method (SIZE/SPEED)
+
+@@ -93,7 +93,7 @@
+
+ ASVER := $(shell $(AS) -r | cut -d ' ' -f 3)
+ #LDVER := $(shell $(LD) -v | cut -d ' ' -f 4)
+-CORRECT_ASVER = 0.98
++CORRECT_ASVER = 0.98.38
+
+ #
+ # avoid using asmutils during the build process if PATH has '.'
diff --git a/devel/asmutils/pkg-plist b/devel/asmutils/pkg-plist
index 5e597d90658..867ee55073f 100644
--- a/devel/asmutils/pkg-plist
+++ b/devel/asmutils/pkg-plist
@@ -53,22 +53,8 @@ bin/asmutils/true
bin/asmutils/uname
bin/asmutils/wc
bin/asmutils/yes
-lib/asmutils/libc.a
lib/asmutils/libc.so.0
-lib/asmutils/libcrypto.a
lib/asmutils/libcrypto.so.0
-lib/asmutils/libm.a
lib/asmutils/libm.so.0
-%%PORTDOCS%%share/doc/asmutils/Asmutils-HOWTO.html
-%%PORTDOCS%%share/doc/asmutils/acknowledgements.html
-%%PORTDOCS%%share/doc/asmutils/endorsements.html
-%%PORTDOCS%%share/doc/asmutils/history.html
-%%PORTDOCS%%share/doc/asmutils/index.html
-%%PORTDOCS%%share/doc/asmutils/s-contrib.html
-%%PORTDOCS%%share/doc/asmutils/s-debug.html
-%%PORTDOCS%%share/doc/asmutils/s-include.html
-%%PORTDOCS%%share/doc/asmutils/s-layout.html
-%%PORTDOCS%%share/doc/asmutils/s-optimize.html
-%%PORTDOCS%%@dirrm share/doc/asmutils
@dirrm lib/asmutils
@dirrm bin/asmutils