Date: Sun, 21 Jan 2024 00:33:39 GMT From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e4f6e2f8cd3e - main - net-im/purple-gowhatsapp: change option-names, pet lint Message-ID: <202401210033.40L0XdgZ059454@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mi: URL: https://cgit.FreeBSD.org/ports/commit/?id=e4f6e2f8cd3e5440f629d1a2c80a6451ff38436a commit e4f6e2f8cd3e5440f629d1a2c80a6451ff38436a Author: Mikhail Teterin <mi@FreeBSD.org> AuthorDate: 2024-01-21 00:31:36 +0000 Commit: Mikhail Teterin <mi@FreeBSD.org> CommitDate: 2024-01-21 00:33:35 +0000 net-im/purple-gowhatsapp: change option-names, pet lint Suggested by: diizzy --- net-im/purple-gowhatsapp/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net-im/purple-gowhatsapp/Makefile b/net-im/purple-gowhatsapp/Makefile index 0fee2fc6f3f4..97abd7dd014e 100644 --- a/net-im/purple-gowhatsapp/Makefile +++ b/net-im/purple-gowhatsapp/Makefile @@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpurple.so:net-im/libpurple \ libopusfile.so:audio/opusfile -USES= go:no_targets cmake dos2unix +USES= go:no_targets cmake dos2unix localbase:ldflags OPTIONS_MULTI= DB-backend -OPTIONS_MULTI_DB-backend= SQLITE3 POSTGRES MYSQL +OPTIONS_MULTI_DB-backend= SQLITE3 PGSQL MYSQL OPTIONS_DEFAULT=SQLITE3 .for o in ${OPTIONS_MULTI_DB-backend} $o_DESC= Support use of $o for storing account information @@ -30,15 +30,14 @@ CMAKE_ARGS= -DPURPLE_INCLUDE_DIRS=${LOCALBASE}/include/libpurple \ -DPURPLE_LIBRARY_DIRS=${LOCALBASE}/lib \ -DPURPLE_PLUGIN_DIR=${PREFIX}/lib/purple-2 \ -DPURPLE_DATA_DIR=${PREFIX}/share -LDFLAGS+= -L${LOCALBASE}/lib -post-patch-POSTGRES-off: +post-patch-PGSQL-off: ${REINPLACE_CMD} '/lib\/pq/d' ${WRKSRC}/src/go/login.go post-patch-MYSQL-off: ${REINPLACE_CMD} '/go-sql-driver\/mysql/d' ${WRKSRC}/src/go/login.go -post-patch-SQLIT3-off: +post-patch-SQLITE3-off: ${REINPLACE_CMD} '/mattn\/go-sqlite3/d' ${WRKSRC}/src/go/login.go # The downloaded Go-files are read-only and the simple rm -f does not work
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401210033.40L0XdgZ059454>