Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 14:00:01 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547055 - head/print/cups-bjnp
Message-ID:  <202008301400.07UE01Mc058787@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008301400.07UE01Mc058787>