From owner-svn-ports-all@FreeBSD.ORG Mon Sep 16 17:38:51 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B8B736F9; Mon, 16 Sep 2013 17:38:51 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8CB1F2F01; Mon, 16 Sep 2013 17:38:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8GHcpMg006327; Mon, 16 Sep 2013 17:38:51 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8GHcphD006325; Mon, 16 Sep 2013 17:38:51 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201309161738.r8GHcphD006325@svn.freebsd.org> From: Guido Falsi Date: Mon, 16 Sep 2013 17:38:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327426 - in head/audio/wavegain: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 17:38:51 -0000 Author: madpilot Date: Mon Sep 16 17:38:50 2013 New Revision: 327426 URL: http://svnweb.freebsd.org/changeset/ports/327426 Log: - Fix build with clang (Respect CC) - Make it respect LOCALBASE - Trim Makefile headers - Convert LIB_DEPENDS to new format and remove ABI version number - USES gmake PR: ports/181615 Submitted by: Me Approved by: Maintainer timeout Modified: head/audio/wavegain/Makefile (contents, props changed) head/audio/wavegain/files/patch-Makefile.linux (contents, props changed) Modified: head/audio/wavegain/Makefile ============================================================================== --- head/audio/wavegain/Makefile Mon Sep 16 17:37:14 2013 (r327425) +++ head/audio/wavegain/Makefile Mon Sep 16 17:38:50 2013 (r327426) @@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}srcs MAINTAINER= darcsis@gmail.com COMMENT= A program that applies ReplayGain to wave files -LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile +LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile USES= gmake USE_ZIP= yes @@ -26,6 +26,9 @@ WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif +post-patch: + @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/Makefile.linux + do-configure: @cd ${WRKSRC} && ${CP} Makefile.linux Makefile Modified: head/audio/wavegain/files/patch-Makefile.linux ============================================================================== --- head/audio/wavegain/files/patch-Makefile.linux Mon Sep 16 17:37:14 2013 (r327425) +++ head/audio/wavegain/files/patch-Makefile.linux Mon Sep 16 17:38:50 2013 (r327426) @@ -1,9 +1,11 @@ ---- Makefile.linux 2005-11-30 11:17:14.000000000 +0800 -+++ Makefile.linux 2008-05-24 22:14:34.000000000 +0800 -@@ -1,5 +1,5 @@ +--- Makefile.linux.orig 2005-11-30 12:17:14.000000000 +0100 ++++ Makefile.linux 2013-08-28 13:02:43.817494398 +0200 +@@ -1,5 +1,7 @@ ++CC ?= cc ++ all: - gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -+ gcc *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L/usr/local/lib ++ ${CC} *.c -o wavegain -DHAVE_CONFIG_H -lm -lsndfile -L%%LOCALBASE%%/lib install: install -d /usr/bin/