From owner-freebsd-questions@freebsd.org Sun Jul 26 15:40:13 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECCC49A828E for ; Sun, 26 Jul 2015 15:40:13 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B7CD169B for ; Sun, 26 Jul 2015 15:40:12 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-24-166-126-146.neo.res.rr.com [24.166.126.146]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id 9daaf2bb; Sun, 26 Jul 2015 11:40:02 -0400 (EDT) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 63b4a1ef; TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sun, 26 Jul 2015 11:40:01 -0400 (EDT) Message-ID: <1437925196.1577.10.camel@michaeleichorn.com> Subject: Re: make: Missing dependency operator From: "Michael B. Eichorn" To: matt@gsicomp.on.ca, freebsd-questions@freebsd.org Date: Sun, 26 Jul 2015 11:39:56 -0400 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 15:40:14 -0000 On Sun, 2015-07-26 at 11:11 -0400, matt@gsicomp.on.ca wrote: > On 2015-07-26 10:33, Murk Fletcher wrote: > > Hi, > > > > I'm trying to compile jpeg-archive ( > > https://github.com/danielgtaylor/jpeg-archive) as part of a greater > > > > effort > > to get image_optim (https://github.com/toy/image_optim) working on > > FreeBSD ( > > https://gist.github.com/murkfletcher/36f662a1c0ab59ea0eac), but I'm > > > > getting: > > > > # make > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 10: Missing > > dependency > > operator > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 19: Need an > > operator > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 31: Need an > > operator > > make: Fatal errors encountered -- cannot continue > > make: stopped in /usr/home/freebsd/jpeg-archive > > > > Anybody know? > > Perhaps the makefile requires GNUmake? > > Matt Yup, its erroring out on a GNUmake specific if-else. At least, I do not see ifeq as an option under make(1), rather we have .if But it is even worse than that, the if-else in question tests for OS based on uname and sets variable accordingly. Further, the test would result in anything that is not Linux or Mac/Darwin being identified as Windows. Ike