Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 22:03:52 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365058 - head/net-mgmt/netams
Message-ID:  <201408152203.s7FM3qIK029099@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Aug 15 22:03:52 2014
New Revision: 365058
URL: http://svnweb.freebsd.org/changeset/ports/365058
QAT: https://qat.redports.org/buildarchive/r365058/

Log:
  Un-hardcode gcc. It still fails to build, but at least it uses the
  right compiler to fail with.

Modified:
  head/net-mgmt/netams/Makefile

Modified: head/net-mgmt/netams/Makefile
==============================================================================
--- head/net-mgmt/netams/Makefile	Fri Aug 15 21:44:31 2014	(r365057)
+++ head/net-mgmt/netams/Makefile	Fri Aug 15 22:03:52 2014	(r365058)
@@ -104,6 +104,9 @@ 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
 
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|; /^INCLUDE/s|/usr/local|${LOCALBASE}|' \
+		${WRKSRC}/src/Makefile ${WRKSRC}/lib/Makefile
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}/tools/oracle
 	${INSTALL_DATA} ${WRKSRC}/addon/netams.conf ${STAGEDIR}${PREFIX}/etc/netams.conf.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408152203.s7FM3qIK029099>