freebsd-ports/sysutils/cdrdao/files/patch-scsilib::inc::avoffset.mk
Marius Strobl 864a63ed0a Fix build on 7.0-CURRENT sparc64 by ignoring the result of executing
avoffset. What happens is that on sparc64 when avoffset is compiled
with optimizations, it dumps core due to a SIGILL instead of failing
gracefully. If this happens during the build of a Schily tool like
cdrtools etc, it doesn't cause any further problems as all build
errors are ignored in the Schily build system. When built as part of
cdrdao, build errors in the Schily libs are reported upwards though,
albeit with an illegal exit status of -1, which was ignored until a
change in sh(1) earlier this year.

Reported by:	kris/pointyhat
Approved by:	netchild
2006-08-27 21:28:50 +00:00

8 lines
349 B
Makefile

--- scsilib/inc/avoffset.mk.orig Sun Jul 13 00:55:06 2003
+++ scsilib/inc/avoffset.mk Fri Aug 25 13:34:32 2006
@@ -15,3 +15,5 @@
###########################################################################
include $(SRCROOT)/$(RULESDIR)/rules.inc
###########################################################################
+
+.IGNORE: $(PTARGET)