1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix build after glib update [1]

- Fix few portlint warnings

PR:		ports/177134 [1]
Submitted by:	John Marino <draco@marino.st>
This commit is contained in:
Pawel Pekala 2013-03-24 19:32:45 +00:00
parent 12db4f3291
commit b39b961d05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315153

View File

@ -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-extension
PLIST_SUB+= EPIPHANY="@comment "
.endif
post-patch:
@${REINPLACE_CMD} 's|glib/gerror|glib|' \
${WRKSRC}/src/gwget-application.h
post-install:
@-update-desktop-database