From owner-freebsd-ports@FreeBSD.ORG Wed Oct 3 20:57:50 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FADF1065673 for ; Wed, 3 Oct 2012 20:57:50 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 40AD68FC15 for ; Wed, 3 Oct 2012 20:57:49 +0000 (UTC) Received: by qady23 with SMTP id y23so2113457qad.13 for ; Wed, 03 Oct 2012 13:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=/x/cYnVP1Y0hI18ujD1N6rJgVJz/q6zK92Lw5FbLy6Q=; b=0bGvy9nfMEmORGLhvUsYFjDHfGwQAFyFcpiJozywA3/T7CPcvjBs28K7pqtBP21DS1 Sx5MwQTiyTov6S3Tjhs9wPPTVlx0SkV8jt6QjQ8Gp7uQdTB29nvyC/AThWDigCki6cGu 7Rk0cT3gAyCPhkFPugKAxCWJsagPI7sg3xJR23cZlpBtmyh91QzdQApkqKiNxdmugHg/ 5FxWcAqV62I7jB1yrcCg51cP34QsoPXKoHfYciwWNuYZBX1V0maJg5hkJOssBp2eq76Q KyeOavaC7xeD8fxMKx9PYJsUdzvK8N0YFSLbYjP6MhlQONOc9039fqGhRRfWaHxCT/xp uVbA== Received: by 10.224.217.136 with SMTP id hm8mr9333727qab.81.1349297869411; Wed, 03 Oct 2012 13:57:49 -0700 (PDT) Received: from mocha.verizon.net (c-71-61-40-68.hsd1.oh.comcast.net. [71.61.40.68]) by mx.google.com with ESMTPS id x19sm5837870qeq.12.2012.10.03.13.57.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Oct 2012 13:57:48 -0700 (PDT) Sender: "Jason E. Hale" From: "Jason E. Hale" To: freebsd-ports@freebsd.org, Paul Schmehl Date: Wed, 03 Oct 2012 16:57:46 -0400 Message-ID: <8939327.duiFNYYenf@mocha.verizon.net> User-Agent: KMail/4.8.4 (FreeBSD/9.0-RELEASE-p3; KDE/4.8.4; i386; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: Struggling with an autotools problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 20:57:50 -0000 On Wednesday, October 03, 2012 15:12:14 Paul Schmehl wrote: > I'm working on an update to the barnyard2 port. The developer has moved to > github, and everything is changed from the way it was previously compiled. > There's no install.sh script, there's no configure.ac, and I've had to fix > a number of errors where he uses deprecated macros. I've sorted everything > out except a handful, and now I'm stuck. > > Here's the output of make: > > # make > ===> License GPLv2 accepted by the user > ===> Found saved configuration for barnyard2-1.10 > ===> Extracting for barnyard2-1.10 > => SHA256 Checksum OK for barnyard2-1.10.tar.gz. > ===> Patching for barnyard2-1.10 > ===> Applying FreeBSD patches for barnyard2-1.10 > ===> barnyard2-1.10 depends on file: /usr/local/bin/automake-1.12 - found > ===> barnyard2-1.10 depends on file: /usr/local/bin/autoconf-2.69 - found > ===> Configuring for barnyard2-1.10 > aclocal-1.12: warning: '--acdir' is deprecated > aclocal-1.12: warning: autoconf input should be named 'configure.ac', not > 'configure.in' > configure.in:497: warning: macro 'AM_PATH_LIBPRELUDE' not found in library > automake-1.12: warning: autoconf input should be named 'configure.ac', not > 'configure.in' > configure.in:8: error: required file './install-sh' not found > configure.in:8: 'automake --add-missing' can install 'install-sh' > configure.in:8: error: required file './missing' not found > configure.in:8: 'automake --add-missing' can install 'missing' > configure.in:7: error: required file 'config.h.in' not found > automake-1.12: warning: autoconf input should be named 'configure.ac', not > 'configure.in' > *** Error code 1 > > How do I add the --add-missing option to automake? > > My Makefile has this: > > USE_AUTOTOOLS= automake autoconf aclocal > > I've searched and searched, and I've tried several different things, but I > can't seem to resolve this error. Try adding this to your Makefile and remove MASTER_SITES: USE_GITHUB= yes GH_ACCOUNT= firnsy GH_TAGNAME= v2-${PORTVERSION} GH_COMMIT= 2f5d496 USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf LIBTOOLIZE_ARGS=--copy --force AUTOMAKE_ARGS= --add-missing --copy ACLOCAL_ARGS= -I m4 -I ${LOCALBASE}/share/aclocal The macros seem fine, you shouldn't need additional patches to fix errors.