Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 19:03:00 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350041 - head/print/xpp
Message-ID:  <201404031903.s33J3045034788@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Apr  3 19:03:00 2014
New Revision: 350041
URL: http://svnweb.freebsd.org/changeset/ports/350041
QAT: https://qat.redports.org/buildarchive/r350041/

Log:
  - Fix build with new cups
  - Stage support
  
  Reported by:	pkg-fallout
  With hat:	portmgr
  MFH:		2014Q2

Modified:
  head/print/xpp/Makefile

Modified: head/print/xpp/Makefile
==============================================================================
--- head/print/xpp/Makefile	Thu Apr  3 19:01:37 2014	(r350040)
+++ head/print/xpp/Makefile	Thu Apr  3 19:03:00 2014	(r350041)
@@ -10,18 +10,17 @@ MASTER_SITES=	SF/cups/${PORTNAME}/${PORT
 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>



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