On Fri, 12 Sep 2014, 21:57 +0000, Evan Hunt wrote: > I suspect if we just remove the .py SUFFIXES rule and replace it with > explicit rules for dnssec-checkds and dnssec-coverage, it'll work...
As far as I can see, adding the explicit dependency doesn't mean that the .py rule _has_ to be removed (although it becomes superfluous). If make has an explicit dependency line it doesn't need to go hunting for a source via suffix rules. I applied your patch to bin/python/Makefile.in only, and left make/rules.in untouched, and everything worked (as expected) both with make and gmake. BUT then I had another idea... I had noticed in FreeBSD's sys.mk that the single-suffix rules were all listed before the double-suffix rules. I wondered if moving the (single-suffix) .py rule up above the (double-suffix) C and docbook rules in make/rules.in might make a difference. It did. With the patch below applied to a fresh unbundled rc2 build tree, I can build rc2 everywhere I need; both with the native system make and gmake. Perhaps this might be considered as a general workaround? Tested successfully with: make (pmake) and gmake on FreeBSD/amd64 9.3-RELEASE make (bmake) and gmake on FreeBSD/i386 10.1-PRERELEASE make (bmake) and gmake on FreeBSD/amd64 10.1-PRERELEASE --- make/rules.in.orig 2014-09-06 07:42:05.000000000 +1000 +++ make/rules.in 2014-09-13 14:29:01.000000000 +1000 @@ -93,6 +93,16 @@ done ### +### Python executable +### + +.SUFFIXES: +.SUFFIXES: .py +.py: + cp -f $< $@ + chmod +x $@ + +### ### C Programs ### ### Makefile must define @@ -119,7 +129,6 @@ BUILD_LDFLAGS = @BUILD_LDFLAGS@ BUILD_LIBS = @BUILD_LIBS@ -.SUFFIXES: .SUFFIXES: .c .@O@ ALWAYS_INCLUDES = -I${top_builddir} -I${top_srcdir} @@ -357,11 +366,3 @@ .docbook.8: ${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $< -### -### Python executable -### -.SUFFIXES: .py -.py: - cp -f $< $@ - chmod +x $@ - -- John Marshall
pgpeQKu8INIbS.pgp
Description: PGP signature
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users