Bug 177134 - ftp/gwget: [PATCH] broken after glib2 update
Summary: ftp/gwget: [PATCH] broken after glib2 update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 09:20 UTC by John Marino
Modified: 2013-03-24 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (262 bytes, patch)
2013-03-20 09:20 UTC, John Marino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-03-20 09:20:00 UTC
ftp/gwget stopped building after glib2 update.
Patch to fix it attached.

Fix: Patch attached with submission follows:
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-03-22 16:09:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-24 19:32:57 UTC
Author: pawel
Date: Sun Mar 24 19:32:45 2013
New Revision: 315153
URL: http://svnweb.freebsd.org/changeset/ports/315153

Log:
  - Fix build after glib update [1]
  - Fix few portlint warnings
  
  PR:		ports/177134 [1]
  Submitted by:	John Marino <draco@marino.st>

Modified:
  head/ftp/gwget/Makefile

Modified: head/ftp/gwget/Makefile
==============================================================================
--- head/ftp/gwget/Makefile	Sun Mar 24 19:16:45 2013	(r315152)
+++ head/ftp/gwget/Makefile	Sun Mar 24 19:32:45 2013	(r315153)
@@ -11,7 +11,7 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GNOME wget front-end
 
-LIB_DEPENDS=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS=	dbus-glib-1:${PORTSDIR}/devel/dbus-glib
 RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
 
 OPTIONS_DEFINE=	NOTIFY EPIPHANY
@@ -21,8 +21,8 @@ EPIPHANY_DESC=	Epiphany extension
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_GETTEXT=	yes
-USE_GNOME=	gnomeprefix gnomehack gtk20 gconf2 libgnomeui \
-		desktopfileutils
+USES=		pathfix
+USE_GNOME=	desktopfileutils gnomeprefix gtk20 gconf2 libgnomeui
 INSTALLS_ICONS=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -32,8 +32,8 @@ GCONF_SCHEMAS=	${PORTNAME}.schemas
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MNOFITY}
-LIB_DEPENDS+=	notify.4:${PORTSDIR}/devel/libnotify
+.if ${PORT_OPTIONS:MNOTIFY}
+LIB_DEPENDS+=	notify:${PORTSDIR}/devel/libnotify
 RUN_DEPENDS+=	${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon
 .else
 CONFIGURE_ARGS+=	--disable-libnotify
@@ -49,6 +49,10 @@ CONFIGURE_ARGS+=	--disable-epiphany-exte
 PLIST_SUB+=	EPIPHANY="@comment "
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} 's|glib/gerror|glib|' \
+		${WRKSRC}/src/gwget-application.h
+
 post-install:
 	@-update-desktop-database
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-03-24 19:33:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!