Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 18:33:51 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r350038 - branches/2014Q2/print/gnome-cups-manager
Message-ID:  <201404031833.s33IXpWN022521@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Apr  3 18:33:50 2014
New Revision: 350038
URL: http://svnweb.freebsd.org/changeset/ports/350038
QAT: https://qat.redports.org/buildarchive/r350038/

Log:
  MFH: r350037
  
  - Fix build with new cups (still broken on 10/head)
  - Stage support
  - desktop-file-utils not needed as the .desktop file has no MimeType
  
  Reported by:	pkg-fallout
  With hat:	portmgr

Modified:
  branches/2014Q2/print/gnome-cups-manager/Makefile
Directory Properties:
  branches/2014Q2/   (props changed)

Modified: branches/2014Q2/print/gnome-cups-manager/Makefile
==============================================================================
--- branches/2014Q2/print/gnome-cups-manager/Makefile	Thu Apr  3 18:32:18 2014	(r350037)
+++ branches/2014Q2/print/gnome-cups-manager/Makefile	Thu Apr  3 18:33:50 2014	(r350038)
@@ -13,21 +13,18 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Administration tool for cups
 
-LIB_DEPENDS=	gnomecups-1.0.1:${PORTSDIR}/print/libgnomecups
+LIB_DEPENDS=	libgnomecups-1.0.so:${PORTSDIR}/print/libgnomecups
 RUN_DEPENDS=	gnomesu:${PORTSDIR}/security/libgnomesu
 
 USE_AUTOTOOLS=	libtool
-USE_BZIP2=	yes
-USE_GNOME=	gnomeprefix gnomehack intlhack libgnomeprintui libgnomeui \
-		desktopfileutils
-USES=		gettext gmake pkgconfig
+USE_GNOME=	gnomeprefix intlhack libgnomeprintui libgnomeui
+USES=		gettext gmake pathfix pkgconfig tar:bzip2
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
 		< ${FILESDIR}/gnome-cups-manager.desktop \
@@ -45,6 +42,6 @@ post-patch:
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
-		${PREFIX}/share/applications
+		${STAGEDIR}${PREFIX}/share/applications
 
 .include <bsd.port.mk>



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