Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 14:35:30 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459261 - head/print/photoprint
Message-ID:  <201801171435.w0HEZU0A016282@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Wed Jan 17 14:35:30 2018
New Revision: 459261
URL: https://svnweb.freebsd.org/changeset/ports/459261

Log:
  print/photoprint: Fix build with clang6,  USES+=localbase
  . fix build with clang6 by forcing --std=gnu++98;
  . incorporate USES+=localbase;
  . spaces->tabs at a makefile assignment.

Modified:
  head/print/photoprint/Makefile

Modified: head/print/photoprint/Makefile
==============================================================================
--- head/print/photoprint/Makefile	Wed Jan 17 14:30:51 2018	(r459260)
+++ head/print/photoprint/Makefile	Wed Jan 17 14:35:30 2018	(r459261)
@@ -21,13 +21,12 @@ LIB_DEPENDS=	libcups.so:print/cups \
 		libtiff.so:graphics/tiff
 
 GNU_CONFIGURE=	yes
-USES=		desktop-file-utils gettext jpeg libtool pkgconfig
-USE_GNOME=     cairo gdkpixbuf2 gtk20
+USES=		desktop-file-utils gettext jpeg libtool localbase pkgconfig
+USE_GNOME=	cairo gdkpixbuf2 gtk20
 USE_XORG=	x11
+USE_CXXSTD=	gnu++98
+LIBS+=		-lX11
 INSTALLS_ICONS=	yes
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib -lX11
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \



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