Remove -Wredundant-decls. While here tweak REVISION/LIB_DEPENDS.

This commit is contained in:
landry 2010-07-22 09:29:13 +00:00
parent 04e9f6d209
commit 50726e5ac0
2 changed files with 15 additions and 12 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.37 2010/06/15 19:35:38 jasper Exp $
# $OpenBSD: Makefile,v 1.38 2010/07/22 09:29:13 landry Exp $
COMMENT= mail notification for freedesktop.org-compliant system trays
DISTNAME= mail-notification-5.4
PKGNAME= ${DISTNAME}p12
REVISION= 13
CATEGORIES= mail
@ -26,7 +26,7 @@ WANTLIB += glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2
WANTLIB += gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pixman-1 png popt pthread
WANTLIB += pthread-stubs ssl xcb xcb-render xcb-render-util xml2
WANTLIB += z
WANTLIB += z gnomeui-2.>=2400 notify sasl2 gmime-2.0
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=mailnotify/}
@ -38,10 +38,10 @@ BUILD_DEPENDS= ::textproc/rarian
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
:yelp-*:x11/gnome/yelp \
:notification-daemon-*|notification-daemon-xfce-*|xfce4-notifyd-*:sysutils/notification-daemon
LIB_DEPENDS= gnomeui-2.>=2400::x11/gnome/libgnomeui \
notify::devel/libnotify \
sasl2::security/cyrus-sasl2 \
gmime-2.0:gmime->=2.2,<2.4:mail/gmime
LIB_DEPENDS= ::x11/gnome/libgnomeui \
::devel/libnotify \
::security/cyrus-sasl2 \
:gmime->=2.2,<2.4:mail/gmime
USE_X11= Yes
NO_REGRESS= Yes

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-jb,v 1.1 2008/12/02 09:11:15 ajacoutot Exp $
--- jb.orig Sun Nov 30 19:18:47 2008
+++ jb Sun Nov 30 19:19:05 2008
$OpenBSD: patch-jb,v 1.2 2010/07/22 09:29:13 landry Exp $
--- jb.orig Sat Apr 26 00:57:47 2008
+++ jb Thu Jul 22 11:23:12 2010
@@ -23,7 +23,6 @@ maintainer_cflags="-g -fstrict-aliasing -Wall -Werror
-Wno-format-zero-length \
-Wno-unused-parameter \
@ -9,8 +9,11 @@ $OpenBSD: patch-jb,v 1.1 2008/12/02 09:11:15 ajacoutot Exp $
-Wendif-labels \
-Wpointer-arith \
-Wcast-align \
@@ -34,7 +33,6 @@ maintainer_cflags="-g -fstrict-aliasing -Wall -Werror
-Wredundant-decls \
@@ -31,10 +30,8 @@ maintainer_cflags="-g -fstrict-aliasing -Wall -Werror
-Wmissing-noreturn \
-Wmissing-format-attribute \
-Wpacked \
--Wredundant-decls \
-Wnested-externs \
-Winline \
--Wno-pointer-sign \