Skip to content

Commit

Permalink
print/dymo-cups-drivers: Fix build on 14
Browse files Browse the repository at this point in the history
- Utilize USES=localbase
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 18, 2023
1 parent d380df5 commit 08760e5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions print/dymo-cups-drivers/Makefile
Expand Up @@ -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>

0 comments on commit 08760e5

Please sign in to comment.