mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
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.
This commit is contained in:
parent
ee6d254d2d
commit
ae01866731
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459261
@ -21,14 +21,13 @@ 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' \
|
||||
${WRKSRC}/gp_cppsupport/gprinter.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user