Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2025 08:19:02 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 51acd11ed53e - main - science/chemical-mime-data: Fix build with 'poud bulk -t' and slightly modernize
Message-ID:  <202501110819.50B8J2mT086658@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=51acd11ed53e72ab38a885410821f41b4b801ef5

commit 51acd11ed53e72ab38a885410821f41b4b801ef5
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-01-11 07:56:47 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-01-11 07:58:17 +0000

    science/chemical-mime-data: Fix build with 'poud bulk -t' and slightly modernize
    
    @unexec is deprecated and actually not needed anymore, because the directory
    in question is handled by the shared-mime-info trigger.
---
 science/chemical-mime-data/Makefile  | 8 +++-----
 science/chemical-mime-data/pkg-plist | 1 -
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/science/chemical-mime-data/Makefile b/science/chemical-mime-data/Makefile
index 857ed4df3454..064fad3e2128 100644
--- a/science/chemical-mime-data/Makefile
+++ b/science/chemical-mime-data/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	chemical-mime-data
 PORTVERSION=	0.1.94
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	science
 MASTER_SITES=	SF/chemical-mime/${PORTNAME}/${PORTVERSION}
 
@@ -8,13 +8,11 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Collection of chemical MIME types for UNIX desktops
 WWW=		http://chemical-mime.sourceforge.net/
 
-USES=		gettext-tools gmake gnome pathfix pkgconfig shared-mime-info \
-		tar:bzip2
+USES=		gettext-tools gmake gnome localbase:ldflags pathfix pkgconfig \
+		shared-mime-info  tar:bzip2
 USE_GNOME=	gnomemimedata intlhack librsvg2:build libxslt:build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-update-database
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|*-*-solaris*|*| ; s|rsvg|rsvg-convert|g' ${WRKSRC}/configure
diff --git a/science/chemical-mime-data/pkg-plist b/science/chemical-mime-data/pkg-plist
index b29eb5bbcad8..c22391dc17c7 100644
--- a/science/chemical-mime-data/pkg-plist
+++ b/science/chemical-mime-data/pkg-plist
@@ -61,4 +61,3 @@ share/mimelnk/chemical/x-ncbi-asn1.desktop
 share/mimelnk/chemical/x-shelx.desktop
 share/mimelnk/chemical/x-vmd.desktop
 share/mimelnk/chemical/x-xyz.desktop
-@unexec rm -rf %D/share/mime/chemical



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