diff --git a/print/photoprint/Makefile b/print/photoprint/Makefile index 9791f594abce..d106c6d7d717 100644 --- a/print/photoprint/Makefile +++ b/print/photoprint/Makefile @@ -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