svn commit: r363623 - head/net-mgmt/netams

Antoine Brodin antoine at FreeBSD.org
Fri Aug 1 10:28:24 UTC 2014


On Thu, Jul 31, 2014 at 5:45 PM, Adam Weinberger <adamw at 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


More information about the svn-ports-all mailing list