Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2013 21:42:59 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323417 - head/net-mgmt/macroscope
Message-ID:  <201307212142.r6LLgx2w000428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jul 21 21:42:59 2013
New Revision: 323417
URL: http://svnweb.freebsd.org/changeset/ports/323417

Log:
  net-mgmt/macroscope: unbreak
  
  The initial problem was that the default database support was MySQL 5.0
  which has been removed.  Upon inspection of the source, it appears that it
  could be hardcoded for MySQL 5.0.33.  At this point, I commented out the
  MySQL option and changed the default to Firebird version 2.0.
  
  According to Redports, the port built on i386 but was broken on amd64.
  The specified version of Firebird was changed to 2.5 and now the port builds
  on both i386 and amd64.
  
  The unnecessary inclusion of bsd.database.mk was also removed and the
  redundant option descriptions were also removed.  The maintainer should
  investigate Macroscope builds with current versions of MySQL and restore
  the option appropriately if it does.
  
  PR:		ports/179708
  Submitted by:	marino
  Approved by:	bapt (mentor), maintainer timeout (>4 weeks)

Modified:
  head/net-mgmt/macroscope/Makefile

Modified: head/net-mgmt/macroscope/Makefile
==============================================================================
--- head/net-mgmt/macroscope/Makefile	Sun Jul 21 21:33:40 2013	(r323416)
+++ head/net-mgmt/macroscope/Makefile	Sun Jul 21 21:42:59 2013	(r323417)
@@ -21,10 +21,8 @@ USE_BZIP2=		yes
 USE_DOS2UNIX=		yes
 USES=			cmake
 
-OPTIONS_DEFINE=	MYSQL FIREBIRD DOCS
-MYSQL_DESC=	With MySQL support
-FIREBIRD_DESC=	With Firebird support
-OPTIONS_DEFAULT=	MYSQL
+OPTIONS_DEFINE=	FIREBIRD DOCS #MYSQL
+OPTIONS_DEFAULT=	FIREBIRD
 
 .include <bsd.port.pre.mk>
 
@@ -32,18 +30,19 @@ OPTIONS_DEFAULT=	MYSQL
 CMAKE_ARGS+=		-DCMAKE_NOT_INSTALL_DOC:BOOL=ON
 .endif
 
-.if ${PORT_OPTIONS:MMYSQL}
-WANT_MYSQL_VER=		50
-USE_MYSQL=		yes
-.endif
+# ${WRKSRC}/include/adicpp/myapi appears to be hardcoded for MySQL 5.0
+# Disable option completely until support for later versions added
+# Firebird 2.0 support doesn't build on amd64, so version 2.5 is required
+#.if ${PORT_OPTIONS:MMYSQL}
+#WANT_MYSQL_VER=	50
+#USE_MYSQL=		yes
+#.endif
 
 .if ${PORT_OPTIONS:MFIREBIRD}
-WITH_FIREBIRD_VER=	2
+WITH_FIREBIRD_VER=	25
 USE_FIREBIRD=		yes
 .endif
 
-.include "${PORTSDIR}/Mk/bsd.database.mk"
-
 .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 BROKEN=	Does not compile on this architecture
 .endif



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