Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2024 21:08:44 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0e736b5a2491 - main - graphics/libcdr01: Modernize port
Message-ID:  <202412232108.4BNL8iMY011037@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e736b5a249184c47079b10646c074db08a8ddf3

commit 0e736b5a249184c47079b10646c074db08a8ddf3
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-23 21:02:07 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-23 21:08:39 +0000

    graphics/libcdr01: Modernize port
    
    * Remove unnecessary CPP/CXX flags
    * Use USES= localbase:ldflags helper
    * Adjust port Makefile to follow Porters Handbook more close
    
    PR:             283502
    Approved by:    office (lwhsu)
---
 graphics/libcdr01/Makefile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/graphics/libcdr01/Makefile b/graphics/libcdr01/Makefile
index 766ff6c331cf..3a6f2036ebdf 100644
--- a/graphics/libcdr01/Makefile
+++ b/graphics/libcdr01/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libcdr
-PORTVERSION=	0.1.8
+DISTVERSION=	0.1.8
 CATEGORIES=	graphics devel
 MASTER_SITES=	LODEV
 PKGNAMESUFFIX=	01
@@ -16,16 +16,16 @@ LIB_DEPENDS=	libicui18n.so:devel/icu \
 		librevenge-0.0.so:textproc/librevenge \
 		liblcms2.so:graphics/lcms2
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs
-USES=		compiler:c++11-lib libtool pathfix pkgconfig tar:xz
+USES=		compiler:c++11-lib libtool localbase:ldflags pathfix pkgconfig \
+		tar:xz
 USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	-DCMS_NO_REGISTER_KEYWORD
-CPPFLAGS+=	-I${LOCALBASE}/include
-CXXFLAGS+=	-Wno-long-long
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
 
 PLIST_SUB=	LIBVERSION=1.0.${PORTVERSION:E}
 
+CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs
+
 .include <bsd.port.mk>


home | help

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