git: 0e736b5a2491 - main - graphics/libcdr01: Modernize port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Dec 2024 21:08:44 UTC
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>