From nobody Fri Dec 30 23:12:51 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NkLdb5vw5z1LnF2; Fri, 30 Dec 2022 23:12:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NkLdb5klNz3wD2; Fri, 30 Dec 2022 23:12:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672441971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rtN2cjlzpE4fkcpVux/NJy6ry9Q82/JL/m0CnFmGpqs=; b=YrQPNwf4P8xB47D9cJVnNMNFCgUQJVZWUGZSBDTHe4b0Yys5xaOxBv+F/EUFRREqUAvQcR 63Qw8d9AsZWQBkx0lWax8ixEZlCh870Nf/TC5A/Dy93BGzRPm9DQoSl3kcqbkL5vCsCKab PApFunddhSB63b17abIvQBT2UyovXnT9PA/HzoCE10FHhWAytglDC2u2AJ+b5rpsWguokQ nyUmA1tw1XJGNovbgKB62QdvlKMInQdTxy9oMR1GnOARlP0iqocgv/I3xPv1Y0MunhnFsu X7ykKpp1F86nIU89gE0+9oej/JrAx/6WGdornaDnq9lOaooK3ee3hkLWyBYfCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672441971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rtN2cjlzpE4fkcpVux/NJy6ry9Q82/JL/m0CnFmGpqs=; b=ww3oUGyHQdtSiIiXC404cozf0gsQ67BPh5i7S1HqIeltdmcs+paE5PoVkQJwmSTGBE3Z1S 4yzLMhlrxi7/BvuxuuWXPpr7+fPbMlMv0CE9i9ysqQ5UASxryAu/p2nJhwd9s+rF3MX96v 2XDSj+crI5n3m4Im9BeRiTU8zlQYaMq+omktr+HDiQ4iScSyOl5jVMpHUab3OSdriifZgL waNDMlIsLALeJmJh3xW/vXkMLuFsU+uhVg7YYvBuXSUbuNxbsi0Yvou5aXlgTMWu8eO22c RRrIl9/LdXn+uX+Om1H7A1A8XD1yLm4fuyw4rn9EOlRcGH/3eESC7TBTu1Dnzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672441971; a=rsa-sha256; cv=none; b=UyXsooe6KU2nK0bSyZdVOgy2/Mbt30cBPK9HR8dwOQAjFiIgpQXvcWGyeeOYXH6DXuq4YA 8ZybfC7fn7jc4evwOY4y92O3xfARvUMWHIPhfvaZfWAKp+LMwQ/Y4SZXwez09dnimMjKpw qr+9W9kY/iXSPmj/2kodGl8Pj0CmmNFLp75VSr/bkCRI2CQVDa8DS+BoPhvBSkx1/AQoSS N4gtNwaYWHp3Djq/LQtXTvUGqeNxcqxoD/rYOuW69DBlXlRbKsPZf+7zHuMBx0M57vPyR7 i5n4SaJEVa/oxOox7HbIMxXHqhYhavUxbpj/hyxscbvdLI5cphPpnvnDeLrZKA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NkLdb4p9xzQlK; Fri, 30 Dec 2022 23:12:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BUNCpGk031917; Fri, 30 Dec 2022 23:12:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BUNCprb031916; Fri, 30 Dec 2022 23:12:51 GMT (envelope-from git) Date: Fri, 30 Dec 2022 23:12:51 GMT Message-Id: <202212302312.2BUNCprb031916@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 43e38d62eaa0 - main - devel/nasm: Update to 2.16.01 (second attempt) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43e38d62eaa0b2dc1abf84e81ae18673ae619576 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=43e38d62eaa0b2dc1abf84e81ae18673ae619576 commit 43e38d62eaa0b2dc1abf84e81ae18673ae619576 Author: Lorenzo Salvadore AuthorDate: 2022-12-29 10:48:39 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-12-30 23:11:48 +0000 devel/nasm: Update to 2.16.01 (second attempt) - The first attempt to update devel/nasm to version 2.16.01 failed due to a bug in tmpfs with updating timestamps using ": >". In particular, the bug is reproduced in poudriere using default configuration due to USE_TMPFS=all. The bug in tmpfs is being fixed, starting with commit 860399eb86cc431412bfbce0ab76c6652e5b6c07 in the src repository. Until the commit is merged in all officially supported FreeBSD versions, the patch files/patch-Makefile.in is necessary: it is a workaround that replaces ": >" with "touch" in Makefile.in [1]. - The file files/patch-d85890aa.c is being removed as it is now obsolete: the commit from which the patch was taken is already included in the update. - The RDOFF option has been removed as, according to the 2.16 changelog, "Support for the rdf format has been discontinued and all the RDOFF utilities has been removed." [2] Because of the RDOFF option removal, the list of installed files is now much shorter and pkg-plist has been replaced by PLIST_FILES as suggest by portlint. Changes: https://nasm.us/doc/nasmdocc.html PR: 268528 [1,2] Reported by: yasu, Johan Ström and many others [1,2] Analyzed by: yasu and Mark Millard [1] Tested by: pi --- devel/nasm/Makefile | 13 +- devel/nasm/distinfo | 10 +- devel/nasm/files/patch-Makefile.in | 33 ++++ devel/nasm/files/patch-d85890aa.c | 301 ------------------------------------- devel/nasm/pkg-plist | 22 --- 5 files changed, 44 insertions(+), 335 deletions(-) diff --git a/devel/nasm/Makefile b/devel/nasm/Makefile index 9e6f8bdf83a1..e5a0edc1ae8c 100644 --- a/devel/nasm/Makefile +++ b/devel/nasm/Makefile @@ -1,5 +1,5 @@ PORTNAME= nasm -PORTVERSION= 2.15.05 +PORTVERSION= 2.16.01 PORTEPOCH= 2 CATEGORIES= devel lang MASTER_SITES= https://www.nasm.us/pub/nasm/releasebuilds/${PORTVERSION}/ \ @@ -21,20 +21,19 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_strspn=yes MAKE_ARGS+= INSTALLROOT=${STAGEDIR} -INSTALL_TARGET= install #needed for RDOFF_INSTALL_TARGET +PLIST_FILES= bin/nasm \ + bin/ndisasm \ + man/man1/nasm.1.gz \ + man/man1/ndisasm.1.gz PORTDOCS= * -OPTIONS_DEFINE= DOCS RDOFF +OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes -RDOFF_DESC= Install tools to handle RDOFF object files - DOCS_DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME}-xdoc${EXTRACT_SUFX} -RDOFF_INSTALL_TARGET= install_rdf - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) diff --git a/devel/nasm/distinfo b/devel/nasm/distinfo index d67d2ab6f30d..2f8445a7b4bc 100644 --- a/devel/nasm/distinfo +++ b/devel/nasm/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1600344380 -SHA256 (nasm-2.15.05.tar.xz) = 3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f -SIZE (nasm-2.15.05.tar.xz) = 995732 -SHA256 (nasm-2.15.05-xdoc.tar.xz) = 02a260cabb649bf55a06e3dc5abb1413746704156c80afc742b8fc1510262ed1 -SIZE (nasm-2.15.05-xdoc.tar.xz) = 823612 +TIMESTAMP = 1672310881 +SHA256 (nasm-2.16.01.tar.xz) = c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558 +SIZE (nasm-2.16.01.tar.xz) = 1017732 +SHA256 (nasm-2.16.01-xdoc.tar.xz) = 801867a71f4c3d513a927ba09b3fa12ef9c7c5c98c0aaafc59c7f342faeab2c9 +SIZE (nasm-2.16.01-xdoc.tar.xz) = 867484 diff --git a/devel/nasm/files/patch-Makefile.in b/devel/nasm/files/patch-Makefile.in new file mode 100644 index 000000000000..0270f58e6ea0 --- /dev/null +++ b/devel/nasm/files/patch-Makefile.in @@ -0,0 +1,33 @@ +--- Makefile.in.orig 2022-12-29 10:56:49 UTC ++++ Makefile.in +@@ -280,26 +280,26 @@ asm/warnings.time: $(ALLOBJ_NW:.$(O)=.c) + $(MAKE) asm/warnings.time + + asm/warnings.time: $(ALLOBJ_NW:.$(O)=.c) +- : > asm/warnings.time ++ touch asm/warnings.time + $(MAKE) $(WARNFILES:=.time) + + asm/warnings.c.time: asm/warnings.pl asm/warnings.time + $(RUNPERL) $(srcdir)/asm/warnings.pl c asm/warnings.c $(srcdir) +- : > asm/warnings.c.time ++ touch asm/warnings.c.time + + asm/warnings.c: asm/warnings.c.time + @: Side effect + + include/warnings.h.time: asm/warnings.pl asm/warnings.time + $(RUNPERL) $(srcdir)/asm/warnings.pl h include/warnings.h $(srcdir) +- : > include/warnings.h.time ++ touch include/warnings.h.time + + include/warnings.h: include/warnings.h.time + @: Side effect + + doc/warnings.src.time: asm/warnings.pl asm/warnings.time + $(RUNPERL) $(srcdir)/asm/warnings.pl doc doc/warnings.src $(srcdir) +- : > doc/warnings.src.time ++ touch doc/warnings.src.time + + doc/warnings.src : doc/warnings.src.time + @: Side effect diff --git a/devel/nasm/files/patch-d85890aa.c b/devel/nasm/files/patch-d85890aa.c deleted file mode 100644 index fb198aa1467c..000000000000 --- a/devel/nasm/files/patch-d85890aa.c +++ /dev/null @@ -1,301 +0,0 @@ ---- Makefile.in.orig 2020-08-28 16:04:43 UTC -+++ Makefile.in -@@ -75,7 +75,7 @@ endif - endif - - .SUFFIXES: --.SUFFIXES: $(X) .$(O) .$(A) .xml .1 .c .i .s .txt -+.SUFFIXES: $(X) .$(O) .$(A) .xml .1 .c .i .s .txt .time - - .PHONY: all doc rdf install clean distclean cleaner spotless install_rdf test - .PHONY: install_doc everything install_everything strip perlreq dist tags TAGS -@@ -100,7 +100,10 @@ NDISASM = disasm/ndisasm.$(O) - NASM = asm/nasm.$(O) - NDISASM = disasm/ndisasm.$(O) - --LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \ -+PROGOBJ = $(NASM) $(NDISASM) -+PROGS = nasm$(X) ndisasm$(X) -+ -+LIBOBJ_NW = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \ - stdlib/strnlen.$(O) stdlib/strrchrnul.$(O) \ - \ - nasmlib/ver.$(O) \ -@@ -122,7 +125,7 @@ LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) st - x86/regs.$(O) x86/regvals.$(O) x86/regflags.$(O) x86/regdis.$(O) \ - x86/disp8.$(O) x86/iflag.$(O) \ - \ -- asm/error.$(O) asm/warnings.$(O) \ -+ asm/error.$(O) \ - asm/floats.$(O) \ - asm/directiv.$(O) asm/directbl.$(O) \ - asm/pragma.$(O) \ -@@ -147,15 +150,20 @@ LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) st - \ - disasm/disasm.$(O) disasm/sync.$(O) - --ALLOBJ = $(NASM) $(NDISASM) $(LIBOBJ) -+# Warnings depend on all source files, so handle them separately -+WARNOBJ = asm/warnings.$(O) - -+LIBOBJ = $(LIBOBJ_NW) $(WARNOBJ) -+ALLOBJ_NW = $(PROGOBJ) $(LIBOBJ_NW) -+ALLOBJ = $(PROGOBJ) $(LIBOBJ) -+ - SUBDIRS = stdlib nasmlib output asm disasm x86 common macros - XSUBDIRS = test doc nsis rdoff - DEPDIRS = . include config x86 rdoff $(SUBDIRS) - #-- End File Lists --# - - all: dirs -- $(MAKE) nasm$(X) ndisasm$(X) rdf -+ $(MAKE) $(PROGS) rdf - - NASMLIB = libnasm.$(A) - -@@ -271,19 +279,31 @@ warnings: - $(RM_F) $(WARNFILES) - $(MAKE) asm/warnings.time - --asm/warnings.time: $(ALLOBJ:.@OBJEXT@=.c) -+asm/warnings.time: $(ALLOBJ_NW:.$(O)=.c) - : > asm/warnings.time -- $(MAKE) $(WARNFILES) -+ $(MAKE) $(WARNFILES:=.time) - --asm/warnings.c: asm/warnings.pl asm/warnings.time -+asm/warnings.c.time: asm/warnings.pl asm/warnings.time - $(RUNPERL) $(srcdir)/asm/warnings.pl c asm/warnings.c $(srcdir) -+ : > asm/warnings.c.time - --include/warnings.h: asm/warnings.pl asm/warnings.time -+asm/warnings.c: asm/warnings.c.time -+ @: Side effect -+ -+include/warnings.h.time: asm/warnings.pl asm/warnings.time - $(RUNPERL) $(srcdir)/asm/warnings.pl h include/warnings.h $(srcdir) -+ : > include/warnings.h.time - --doc/warnings.src: asm/warnings.pl asm/warnings.time -+include/warnings.h: include/warnings.h.time -+ @: Side effect -+ -+doc/warnings.src.time: asm/warnings.pl asm/warnings.time - $(RUNPERL) $(srcdir)/asm/warnings.pl doc doc/warnings.src $(srcdir) -+ : > doc/warnings.src.time - -+doc/warnings.src : doc/warnings.src.time -+ @: Side effect -+ - # Assembler token hash - asm/tokhash.c: x86/insns.dat x86/regs.dat asm/tokens.dat asm/tokhash.pl \ - perllib/phash.ph -@@ -385,10 +405,9 @@ manpages: nasm.1 ndisasm.1 - # Generated manpages, also pregenerated for distribution - manpages: nasm.1 ndisasm.1 - --install: nasm$(X) ndisasm$(X) -+install: $(PROGS) - $(MKDIR_P) $(DESTDIR)$(bindir) -- $(INSTALL_PROGRAM) nasm$(X) $(DESTDIR)$(bindir)/nasm$(X) -- $(INSTALL_PROGRAM) ndisasm$(X) $(DESTDIR)$(bindir)/ndisasm$(X) -+ $(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(bindir)/ - $(MKDIR_P) $(DESTDIR)$(mandir)/man1 - $(INSTALL_DATA) $(srcdir)/nasm.1 $(DESTDIR)$(mandir)/man1/nasm.1 - $(INSTALL_DATA) $(srcdir)/ndisasm.1 $(DESTDIR)$(mandir)/man1/ndisasm.1 -@@ -397,7 +416,7 @@ clean: - for d in . $(SUBDIRS) $(XSUBDIRS); do \ - $(RM_F) "$$d"/*.$(O) "$$d"/*.s "$$d"/*.i "$$d"/*.$(A) ; \ - done -- $(RM_F) nasm$(X) ndisasm$(X) -+ $(RM_F) $(PROGS) - $(RM_F) nasm-*-installer-*.exe - $(RM_F) tags TAGS - $(RM_F) nsis/arch.nsh -@@ -412,18 +431,18 @@ distclean: clean - done - $(RM_F) test/*.$(O) - $(RM_RF) autom4te*.cache -- $(RM_F) Makefile *.dep asm/warnings.time -+ $(RM_F) Makefile *.dep - - cleaner: clean - $(RM_F) $(PERLREQ) *.1 nasm.spec - $(MAKE) -C doc clean -- $(RM_F) *.dep asm/warnings.time -+ $(RM_F) *.dep */*.time - - spotless: distclean cleaner - $(RM_F) doc/Makefile - - strip: -- $(STRIP) --strip-unneeded nasm$(X) ndisasm$(X) -+ $(STRIP) --strip-unneeded $(PROGS) - - TAGS: - $(RM_F) TAGS -@@ -496,13 +515,13 @@ splint: - splint: - splint -weak *.c - --test: nasm$(X) -+test: $(PROGS) - cd test && $(RUNPERL) performtest.pl --nasm=../nasm *.asm - --golden: nasm$(X) -+golden: $(PROGS) - cd test && $(RUNPERL) performtest.pl --golden --nasm=../nasm *.asm - --travis: nasm$(X) -+travis: $(PROGS) - $(PYTHON3) travis/nasm-t.py run - - # ---- Mkfiles/msvc.mak.orig 2020-08-28 16:04:43 UTC -+++ Mkfiles/msvc.mak -@@ -64,7 +64,10 @@ NDISASM = disasm\ndisasm.$(O) - NASM = asm\nasm.$(O) - NDISASM = disasm\ndisasm.$(O) - --LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) stdlib\strlcpy.$(O) \ -+PROGOBJ = $(NASM) $(NDISASM) -+PROGS = nasm$(X) ndisasm$(X) -+ -+LIBOBJ_NW = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) stdlib\strlcpy.$(O) \ - stdlib\strnlen.$(O) stdlib\strrchrnul.$(O) \ - \ - nasmlib\ver.$(O) \ -@@ -86,7 +89,7 @@ LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) st - x86\regs.$(O) x86\regvals.$(O) x86\regflags.$(O) x86\regdis.$(O) \ - x86\disp8.$(O) x86\iflag.$(O) \ - \ -- asm\error.$(O) asm\warnings.$(O) \ -+ asm\error.$(O) \ - asm\floats.$(O) \ - asm\directiv.$(O) asm\directbl.$(O) \ - asm\pragma.$(O) \ -@@ -111,8 +114,13 @@ LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) st - \ - disasm\disasm.$(O) disasm\sync.$(O) - --ALLOBJ = $(NASM) $(NDISASM) $(LIBOBJ) -+# Warnings depend on all source files, so handle them separately -+WARNOBJ = asm\warnings.$(O) - -+LIBOBJ = $(LIBOBJ_NW) $(WARNOBJ) -+ALLOBJ_NW = $(PROGOBJ) $(LIBOBJ_NW) -+ALLOBJ = $(PROGOBJ) $(LIBOBJ) -+ - SUBDIRS = stdlib nasmlib output asm disasm x86 common macros - XSUBDIRS = test doc nsis rdoff - DEPDIRS = . include config x86 rdoff $(SUBDIRS) -@@ -230,18 +238,30 @@ warnings: - $(RM_F) $(WARNFILES) - $(MAKE) asm\warnings.time - --asm\warnings.time: $(ALLOBJ:.@OBJEXT@=.c) -+asm\warnings.time: $(ALLOBJ_NW:.$(O)=.c) - : > asm\warnings.time -- $(MAKE) $(WARNFILES) -+ $(MAKE) $(WARNFILES:=.time) - --asm\warnings.c: asm\warnings.pl asm\warnings.time -+asm\warnings.c.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl c asm\warnings.c $(srcdir) -+ : > asm\warnings.c.time - --include\warnings.h: asm\warnings.pl asm\warnings.time -+asm\warnings.c: asm\warnings.c.time -+ @: Side effect -+ -+include\warnings.h.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl h include\warnings.h $(srcdir) -+ : > include\warnings.h.time - --doc\warnings.src: asm\warnings.pl asm\warnings.time -+include\warnings.h: include\warnings.h.time -+ @: Side effect -+ -+doc\warnings.src.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl doc doc\warnings.src $(srcdir) -+ : > doc\warnings.src.time -+ -+doc\warnings.src : doc\warnings.src.time -+ @: Side effect - - # Assembler token hash - asm\tokhash.c: x86\insns.dat x86\regs.dat asm\tokens.dat asm\tokhash.pl \ ---- Mkfiles/openwcom.mak.orig 2020-08-28 16:04:44 UTC -+++ Mkfiles/openwcom.mak -@@ -53,7 +53,10 @@ NDISASM = disasm\ndisasm.$(O) - NASM = asm\nasm.$(O) - NDISASM = disasm\ndisasm.$(O) - --LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) stdlib\strlcpy.$(O) & -+PROGOBJ = $(NASM) $(NDISASM) -+PROGS = nasm$(X) ndisasm$(X) -+ -+LIBOBJ_NW = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) stdlib\strlcpy.$(O) & - stdlib\strnlen.$(O) stdlib\strrchrnul.$(O) & - & - nasmlib\ver.$(O) & -@@ -75,7 +78,7 @@ LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) st - x86\regs.$(O) x86\regvals.$(O) x86\regflags.$(O) x86\regdis.$(O) & - x86\disp8.$(O) x86\iflag.$(O) & - & -- asm\error.$(O) asm\warnings.$(O) & -+ asm\error.$(O) & - asm\floats.$(O) & - asm\directiv.$(O) asm\directbl.$(O) & - asm\pragma.$(O) & -@@ -100,8 +103,13 @@ LIBOBJ = stdlib\snprintf.$(O) stdlib\vsnprintf.$(O) st - & - disasm\disasm.$(O) disasm\sync.$(O) - --ALLOBJ = $(NASM) $(NDISASM) $(LIBOBJ) -+# Warnings depend on all source files, so handle them separately -+WARNOBJ = asm\warnings.$(O) - -+LIBOBJ = $(LIBOBJ_NW) $(WARNOBJ) -+ALLOBJ_NW = $(PROGOBJ) $(LIBOBJ_NW) -+ALLOBJ = $(PROGOBJ) $(LIBOBJ) -+ - SUBDIRS = stdlib nasmlib output asm disasm x86 common macros - XSUBDIRS = test doc nsis rdoff - DEPDIRS = . include config x86 rdoff $(SUBDIRS) -@@ -243,18 +251,30 @@ warnings: - $(RM_F) $(WARNFILES) - $(MAKE) asm\warnings.time - --asm\warnings.time: $(ALLOBJ:.@OBJEXT@=.c) -+asm\warnings.time: $(ALLOBJ_NW:.$(O)=.c) - : > asm\warnings.time -- $(MAKE) $(WARNFILES) -+ $(MAKE) $(WARNFILES:=.time) - --asm\warnings.c: asm\warnings.pl asm\warnings.time -+asm\warnings.c.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl c asm\warnings.c $(srcdir) -+ : > asm\warnings.c.time - --include\warnings.h: asm\warnings.pl asm\warnings.time -+asm\warnings.c: asm\warnings.c.time -+ @: Side effect -+ -+include\warnings.h.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl h include\warnings.h $(srcdir) -+ : > include\warnings.h.time - --doc\warnings.src: asm\warnings.pl asm\warnings.time -+include\warnings.h: include\warnings.h.time -+ @: Side effect -+ -+doc\warnings.src.time: asm\warnings.pl asm\warnings.time - $(RUNPERL) $(srcdir)\asm\warnings.pl doc doc\warnings.src $(srcdir) -+ : > doc\warnings.src.time -+ -+doc\warnings.src : doc\warnings.src.time -+ @: Side effect - - # Assembler token hash - asm\tokhash.c: x86\insns.dat x86\regs.dat asm\tokens.dat asm\tokhash.pl & diff --git a/devel/nasm/pkg-plist b/devel/nasm/pkg-plist deleted file mode 100644 index ab510606a97a..000000000000 --- a/devel/nasm/pkg-plist +++ /dev/null @@ -1,22 +0,0 @@ -bin/nasm -bin/ndisasm -man/man1/nasm.1.gz -man/man1/ndisasm.1.gz -%%RDOFF%%bin/ldrdf -%%RDOFF%%bin/rdf2bin -%%RDOFF%%bin/rdf2com -%%RDOFF%%bin/rdf2ihx -%%RDOFF%%bin/rdf2ith -%%RDOFF%%bin/rdf2srec -%%RDOFF%%bin/rdfdump -%%RDOFF%%bin/rdflib -%%RDOFF%%bin/rdx -%%RDOFF%%man/man1/ldrdf.1.gz -%%RDOFF%%man/man1/rdf2bin.1.gz -%%RDOFF%%man/man1/rdf2com.1.gz -%%RDOFF%%man/man1/rdf2ihx.1.gz -%%RDOFF%%man/man1/rdf2ith.1.gz -%%RDOFF%%man/man1/rdf2srec.1.gz -%%RDOFF%%man/man1/rdfdump.1.gz -%%RDOFF%%man/man1/rdflib.1.gz -%%RDOFF%%man/man1/rdx.1.gz