Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2014 12:50:43 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359762 - head/mail/mail-notification
Message-ID:  <201406291250.s5TCohbR008223@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jun 29 12:50:42 2014
New Revision: 359762
URL: http://svnweb.freebsd.org/changeset/ports/359762
QAT: https://qat.redports.org/buildarchive/r359762/

Log:
  mail/notify: Unbreak
  
  PR:		188446
  Reported by:	Jonathan Chen
  Submitted by:	maintainer (mwisnicki)
  Tweaks:		marino

Modified:
  head/mail/mail-notification/Makefile

Modified: head/mail/mail-notification/Makefile
==============================================================================
--- head/mail/mail-notification/Makefile	Sun Jun 29 12:26:47 2014	(r359761)
+++ head/mail/mail-notification/Makefile	Sun Jun 29 12:50:42 2014	(r359762)
@@ -3,28 +3,25 @@
 
 PORTNAME=	mail-notification
 DISTVERSION=	5.4
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	mailnotify
 
 MAINTAINER=	mwisnicki+freebsd@gmail.com
-COMMENT=	A mail notification for freedesktop.org-compliant system trays
-
-BROKEN=		Violates stagedir and fails to package
+COMMENT=	Mail notification for freedesktop.org-compliant system trays
 
 LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
 		libgnome-keyring.so:${PORTSDIR}/security/gnome-keyring \
 		libnotify.so:${PORTSDIR}/devel/libnotify
 
-USE_BZIP2=	yes
-USES=		gettext
+USES=		gettext tar:bzip2
 USE_LDCONFIG=	yes
 USE_GNOME=	gconf2 gnomeprefix gnomevfs2 libglade2 libgnomeui libxml2
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${STAGEDIR}${PREFIX}"
-JB_CONF_ENV=	jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
+JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${PREFIX}" destdir="${STAGEDIR}"
+JB_CONF_ENV=	${MAKE_ENV} jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
 GCONF_SCHEMAS=	mail-notification.schemas
 INSTALLS_OMF=	yes
 INSTALLS_ICONS=	yes
@@ -121,12 +118,13 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/jb ${WRKSRC}/jbsrc/jb.c
 
 do-configure:
-	cd ${WRKSRC} && ${JB_CONF_ENV} ./jb configure ${JB_CONF_ARGS}
+	cd ${WRKSRC} && ${SETENV} ${JB_CONF_ENV} \
+		./jb configure ${JB_CONF_ARGS}
 
 do-build:
-	cd ${WRKSRC} && ./jb build
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./jb build
 
 do-install:
-	cd ${WRKSRC} && ./jb install
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./jb install
 
 .include <bsd.port.mk>



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