diff options
author | antoine <antoine@FreeBSD.org> | 2014-04-04 03:03:00 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-04-04 03:03:00 +0800 |
commit | 986b71af5c76534aa7f9304b3315961ccbb06d6c (patch) | |
tree | 320ee65381f3c10605280e6267132ef983ad4538 /print/xpp | |
parent | 169278187cd14e2cf0af1459fb86856ac333f0c6 (diff) | |
download | freebsd-ports-graphics-986b71af5c76534aa7f9304b3315961ccbb06d6c.tar.gz freebsd-ports-graphics-986b71af5c76534aa7f9304b3315961ccbb06d6c.tar.zst freebsd-ports-graphics-986b71af5c76534aa7f9304b3315961ccbb06d6c.zip |
- Fix build with new cups
- Stage support
Reported by: pkg-fallout
With hat: portmgr
MFH: 2014Q2
Diffstat (limited to 'print/xpp')
-rw-r--r-- | print/xpp/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/print/xpp/Makefile b/print/xpp/Makefile index 3e6dc30c4e8..a10fce27a9f 100644 --- a/print/xpp/Makefile +++ b/print/xpp/Makefile @@ -10,18 +10,17 @@ MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION} MAINTAINER= cy@FreeBSD.org COMMENT= X11-based printer manager for CUPS -LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client \ - fltk.1:${PORTSDIR}/x11-toolkits/fltk +LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \ + libfltk.so.1:${PORTSDIR}/x11-toolkits/fltk BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base -USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake tar:bzip2 GNU_CONFIGURE= yes +CFLAGS+= -D_IPP_PRIVATE_STRUCTURES PLIST_FILES= bin/xpp share/doc/xpp/README PLIST_DIRS= share/doc/xpp -NO_STAGE= yes post-configure: @${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \ ${WRKSRC}/Makefile @@ -29,7 +28,7 @@ post-configure: @${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h post-install: - ${MKDIR} ${PREFIX}/share/doc/xpp - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xpp + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/xpp .include <bsd.port.mk> |