print/cups-bjnp: fix build on GCC architectures
Use C11 compiler: bjnp-io.h:106: error: redefinition of typedef 'printer_t' bjnp.h:132: error: previous declaration of 'printer_t' was here
This commit is contained in:
parent
f9228a39e7
commit
6622cd7098
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547055
@ -13,12 +13,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libcups.so:print/cups
|
||||
|
||||
USES= compiler:c11 localbase:ldflags
|
||||
|
||||
PLIST_FILES= libexec/cups/backend/bjnp
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
# Just to avoid a tautological pointer compare in bjnp-commands.c:187
|
||||
CONFIGURE_ARGS+= --disable-Werror
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user