Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2023 22:57:47 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 23253ea43f81 - main - biology/emboss: Optionize mysql support
Message-ID:  <202310292257.39TMvl0f030082@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23253ea43f819c9d3f5a32109a5086064908c04e

commit 23253ea43f819c9d3f5a32109a5086064908c04e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-29 19:32:37 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-29 22:53:39 +0000

    biology/emboss: Optionize mysql support
    
    The port builds fine without mysql and as MySQL57 is reaching end of
    life so optionize MYSQL so that other flavors can be used and still
    there is an available pkg for this port.
    
    Approved by:    portmgr (blanket)
---
 biology/emboss/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/biology/emboss/Makefile b/biology/emboss/Makefile
index e5362ab34681..11b6b6c99fb0 100644
--- a/biology/emboss/Makefile
+++ b/biology/emboss/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	emboss
 PORTVERSION=	6.6.0
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	biology
 MASTER_SITES=	ftp://emboss.open-bio.org/pub/EMBOSS/
 DISTNAME=	${PORTNAME:tu}-${PORTVERSION}
@@ -17,8 +17,7 @@ BUILD_DEPENDS=	clustalw:biology/clustalw \
 LIB_DEPENDS=	libgd.so:graphics/gd \
 		libpng.so:graphics/png
 
-USES=		gmake libtool iconv mysql pgsql ssl
-IGNORE_WITH_MYSQL=	80
+USES=		gmake libtool iconv localbase:ldflags pgsql ssl
 USE_SUBMAKE=	yes
 
 CONFLICTS=	qmail-ldap digest
@@ -29,16 +28,18 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 SUB_FILES=	pkg-message emboss-shell
 SUB_LIST=	PREFIX=${PREFIX} DATADIR=${DATADIR}
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG}
 INSTALL_TARGET=	install-strip
 
 DOCSDIR=	${PREFIX}/share/${PORTNAME:tu}/doc
 DATADIR=	${PREFIX}/share/${PORTNAME:tu}
 
-OPTIONS_DEFINE=	DOCS X11
+OPTIONS_DEFINE=	DOCS MYSQL X11
 OPTIONS_DEFAULT=	X11
+
 DOCS_CONFIGURE_ON=	--with-docroot=${DOCSDIR}
+MYSQL_USES=	mysql
+MYSQL_VARS=	IGNORE_WITH_MYSQL=80
 X11_USES=	motif xorg
 X11_USE=	XORG=x11
 X11_LIB_DEPENDS=	libgd.so:graphics/gd \



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