Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2014 12:28:22 +0200
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Adam Weinberger <adamw@freebsd.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r363623 - head/net-mgmt/netams
Message-ID:  <CAALwa8nYNoOQmCe=Ycq96i10a6sn1McHm897RzzCUNjNQ=rLQA@mail.gmail.com>
In-Reply-To: <201407311545.s6VFjVWb058252@svn.freebsd.org>
References:  <201407311545.s6VFjVWb058252@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 31, 2014 at 5:45 PM, Adam Weinberger <adamw@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8nYNoOQmCe=Ycq96i10a6sn1McHm897RzzCUNjNQ=rLQA>