From owner-svn-ports-head@FreeBSD.ORG Fri Aug 1 10:28:24 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB3D5371; Fri, 1 Aug 2014 10:28:24 +0000 (UTC) Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43E952897; Fri, 1 Aug 2014 10:28:24 +0000 (UTC) Received: by mail-yh0-f47.google.com with SMTP id f10so2406670yha.34 for ; Fri, 01 Aug 2014 03:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=21wHsOJ3sXmv2ZCbDx9s7/Mj/KMT6vIxPP7ZBivWnek=; b=redZgn95nBi9P5gsUR6rxtxyDqU9UCbwlpj2LaBN5FAly78OWMRSKli7YkY+tU7fUl PX++UiXGCyowm+t3WFDMjcQE+51gnN4FaaWVo7fDq0x9/l7Dkh15xeJ2tVIQw7p+1LKy 8wXFkrDl/8PWQN0t7rxc8JLyybaGWCPlNxGqa+6uOCmRHJCco3PW2MpE4oYzPhfs6HS2 64HTh/j7FNfnNS/f5qdwAOQRliTDW6XleRD1+eS163GzFZLoTlq7inXNYiqtbwrEK21U tsTgpoRU4XXbpVlKVrciOH4kU6JC0ct93XI6PWA/QIlb/p1tDgG0VJNVuCaqFYBThuH5 Po9g== MIME-Version: 1.0 X-Received: by 10.236.17.194 with SMTP id j42mr6932674yhj.138.1406888903028; Fri, 01 Aug 2014 03:28:23 -0700 (PDT) Sender: antoine.brodin.freebsd@gmail.com Received: by 10.170.164.197 with HTTP; Fri, 1 Aug 2014 03:28:22 -0700 (PDT) In-Reply-To: <201407311545.s6VFjVWb058252@svn.freebsd.org> References: <201407311545.s6VFjVWb058252@svn.freebsd.org> Date: Fri, 1 Aug 2014 12:28:22 +0200 X-Google-Sender-Auth: QveyPtNdzEQqOmSk_zrdD1PVGOw Message-ID: Subject: Re: svn commit: r363623 - head/net-mgmt/netams From: Antoine Brodin To: Adam Weinberger Content-Type: text/plain; charset=UTF-8 Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 10:28:24 -0000 On Thu, Jul 31, 2014 at 5:45 PM, Adam Weinberger wrote: > Author: adamw > Date: Thu Jul 31 15:45:30 2014 > New Revision: 363623 > URL: http://svnweb.freebsd.org/changeset/ports/363623 > QAT: https://qat.redports.org/buildarchive/r363623/ > > Log: > Fix build without gcc. > > Modified: > head/net-mgmt/netams/Makefile > > Modified: head/net-mgmt/netams/Makefile > ============================================================================== > --- head/net-mgmt/netams/Makefile Thu Jul 31 15:24:56 2014 (r363622) > +++ head/net-mgmt/netams/Makefile Thu Jul 31 15:45:30 2014 (r363623) > @@ -104,6 +104,10 @@ pre-patch: > @${REINPLACE_CMD} -e 's|locate_file "libglib-2\.0\.so".*|v1="" \&\& v2="" \&\& v3=""|' \ > -e 's|locate_file "openssl/md5\.h".*|v1=""|' ${WRKSRC}/configure.sh > > +post-patch: > + @${REINPLACE_CMD} -e '/^CC/s|g++|${CC}|; /^CPP/s|g++|${CXX}|; /^CFLAGS/s/=/+=/' \ > + ${WRKSRC}/src/Makefile > + > do-install: > @${MKDIR} ${STAGEDIR}${DATADIR}/tools/oracle > ${INSTALL_DATA} ${WRKSRC}/addon/netams.conf ${STAGEDIR}${PREFIX}/etc/netams.conf.sample > Hi, This doesn't unbreak without gcc (and now breaks with gcc) Cheers, Antoine