mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix build with new cups
- Stage support Reported by: pkg-fallout With hat: portmgr MFH: 2014Q2
This commit is contained in:
parent
80596ca8a3
commit
4942d87e8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350041
1 changed files with 6 additions and 7 deletions
|
@ -10,18 +10,17 @@ MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION}
|
||||||
MAINTAINER= cy@FreeBSD.org
|
MAINTAINER= cy@FreeBSD.org
|
||||||
COMMENT= X11-based printer manager for CUPS
|
COMMENT= X11-based printer manager for CUPS
|
||||||
|
|
||||||
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client \
|
LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \
|
||||||
fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
libfltk.so.1:${PORTSDIR}/x11-toolkits/fltk
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USES= gmake tar:bzip2
|
||||||
USE_GMAKE= yes
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
CFLAGS+= -D_IPP_PRIVATE_STRUCTURES
|
||||||
|
|
||||||
PLIST_FILES= bin/xpp share/doc/xpp/README
|
PLIST_FILES= bin/xpp share/doc/xpp/README
|
||||||
PLIST_DIRS= share/doc/xpp
|
PLIST_DIRS= share/doc/xpp
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-configure:
|
post-configure:
|
||||||
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
|
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
|
||||||
${WRKSRC}/Makefile
|
${WRKSRC}/Makefile
|
||||||
|
@ -29,7 +28,7 @@ post-configure:
|
||||||
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
|
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${MKDIR} ${PREFIX}/share/doc/xpp
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xpp
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/xpp
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue