1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

print/dymo-cups-drivers: Fix build on 14

- Utilize USES=localbase
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-18 09:50:15 +02:00
parent d380df54b8
commit 08760e5251

View File

@ -13,10 +13,19 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcupsimage.so:print/cups
WRKSRC= ${WRKDIR}/dymo-cups-drivers-1.4.0.5
USES= localbase:ldflags
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/dymo-cups-drivers-1.4.0.5
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=15
CC= clang${LLVM_VERSION}
CPP= clang-cpp${LLVM_VERSION}
CXX= clang++${LLVM_VERSION}
.endif
.include <bsd.port.mk>