Date: Mon, 31 Mar 2014 15:38:07 -0500 (CDT) From: Lawrence "The Dreamer" Chen <beastie@tardisi.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188149: [patch] sysutils/memtest86+: Doesn't build if ISO option is selected. Message-ID: <201403312038.s2VKc7wj082486@zen.lhaven.homeip.net> Resent-Message-ID: <201403312040.s2VKe0Oe044325@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188149 >Category: ports >Synopsis: [patch] sysutils/memtest86+: Doesn't build if ISO option is selected. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 31 20:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Lawrence "The Dreamer" Chen >Release: FreeBSD 9.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD zen.lhaven.homeip.net 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: sysutils/memtest86+ fails to build if the port option ISO is selected. >How-To-Repeat: >Fix: On closer look at the build failure, I saw this: make all make: illegal option -- - usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] gmake: *** [iso] Error 2 gmake: *** Waiting for unfinished jobs.... ===> Compilation failed unexpectedly. We're using gmake, and the Makefile is calling make? Patch the Makefile to also use gmake. --- patch begins here --- --- files/patch-Makefile.orig 2014-01-22 11:40:44.000000000 -0600 +++ files/patch-Makefile 2014-03-31 15:25:47.000000000 -0500 @@ -1,6 +1,6 @@ ---- Makefile 2008-11-16 02:30:50.000000000 +0200 -+++ Makefile 2009-02-18 09:03:07.000000000 +0200 -@@ -23,15 +23,15 @@ all: memtest.bin memtest +--- Makefile.orig 2014-03-31 15:24:42.901769547 -0500 ++++ Makefile 2014-03-31 15:25:34.535769604 -0500 +@@ -23,15 +23,15 @@ # symbols and then link it dynamically so I have full # relocation information memtest_shared: $(OBJS) memtest_shared.lds Makefile @@ -19,9 +19,12 @@ head.s: head.S config.h defs.h test.h $(CC) -E -traditional $< -o $@ -@@ -58,7 +58,6 @@ clean: +@@ -59,9 +59,8 @@ + @./makedos.sh + iso: - make all +- make all ++ gmake all ./makeiso.sh - rm -f *.o *.s memtest.bin memtest memtest_shared memtest_shared.bin --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403312038.s2VKc7wj082486>