Date: Mon, 17 Apr 2023 09:30:28 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f9b5687a5299 - main - graphics/libvisual04-plugins: work around duplicate symbol issues Message-ID: <202304170930.33H9USr3051488@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9b5687a5299c6578c8ffe59c3c56dbc0278735d commit f9b5687a5299c6578c8ffe59c3c56dbc0278735d Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-04-15 13:16:05 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-17 09:27:25 +0000 graphics/libvisual04-plugins: work around duplicate symbol issues - supply CFLAGS+=-fcommon to enable a build on recent gcc/clang - this enables a build on FreeBSD 13+ - define LICENSE - update USE_GL usage Approved by: portmgr (build fix blanket) --- graphics/libvisual04-plugins/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/graphics/libvisual04-plugins/Makefile b/graphics/libvisual04-plugins/Makefile index 14aff18c9309..8cce42b31c5f 100644 --- a/graphics/libvisual04-plugins/Makefile +++ b/graphics/libvisual04-plugins/Makefile @@ -1,6 +1,6 @@ PORTNAME= libvisual PORTVERSION= 0.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-plugins/${PORTNAME}-plugins-${PORTVERSION} PKGNAMESUFFIX= 04-plugins @@ -8,15 +8,14 @@ DISTNAME= ${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${PORTVERSION} MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Set of plugins for the libvisual framework -WWW= http://localhost.nl/~synap/libvisual/ -BROKEN_FreeBSD_13= ld: error: duplicate symbol: _oink_table_cos -BROKEN_FreeBSD_14= ld: error: duplicate symbol: _oink_table_cos +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libvisual-${MAJORMINOR}.so:graphics/libvisual04 USES= gl libtool pkgconfig xorg -USE_GL= yes +USE_GL= glu USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa \ @@ -26,6 +25,7 @@ CONFIGURE_ARGS= --disable-alsa \ --disable-gforce \ --disable-jess \ --prefix=${PREFIX} +CFLAGS+= -fcommon CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304170930.33H9USr3051488>