svn commit: r547055 - head/print/cups-bjnp

Piotr Kubaj pkubaj at FreeBSD.org
Sun Aug 30 14:00:01 UTC 2020


Author: pkubaj
Date: Sun Aug 30 14:00:00 2020
New Revision: 547055
URL: https://svnweb.freebsd.org/changeset/ports/547055

Log:
  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

Modified:
  head/print/cups-bjnp/Makefile

Modified: head/print/cups-bjnp/Makefile
==============================================================================
--- head/print/cups-bjnp/Makefile	Sun Aug 30 13:15:37 2020	(r547054)
+++ head/print/cups-bjnp/Makefile	Sun Aug 30 14:00:00 2020	(r547055)
@@ -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>


More information about the svn-ports-head mailing list