Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 17:19:20 +0200
From:      "David" <david@trucs.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122934: devel/py-notify: src/pynotify.c does not get rebuilt properly
Message-ID:  <20080420151921.6724C1AB2FB@smtp1-g19.free.fr>
Resent-Message-ID: <200804201520.m3KFK28J087293@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122934
>Category:       ports
>Synopsis:       devel/py-notify: src/pynotify.c does not get rebuilt properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 15:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Le Brun
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cannelle.lan 7.0-STABLE FreeBSD 7.0-STABLE #3: Sun Mar 2 15:18:43 CET 2008 root@cannelle.lan:/usr/src/sys/i386/compile/CANNELLE i386


	
>Description:
This patch fixes:
	* 'attach_to_status_icon' is missing (http://trac.galago-project.org/ticket/121) : The reason is simply that src/pynotify.c does not get rebuilt properly. When deleting the file, it gets regenerated properly and attach_to_status_icon() works.
	* Make portlint happy
>How-To-Repeat:
	
>Fix:

	

--- py-notify.patch begins here ---
diff -ruN py-notify.orig/Makefile py-notify/Makefile
--- py-notify.orig/Makefile	2007-05-19 22:03:32.000000000 +0200
+++ py-notify/Makefile	2008-04-20 17:10:44.000000000 +0200
@@ -7,8 +7,8 @@
 
 PORTNAME=	notify
 PORTVERSION=	0.1.1
-PORTREVISION=	1
 DISTVERSIONPREFIX=python-
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.galago-project.org/files/releases/source/notify-python/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -27,6 +27,9 @@
 
 DOCS=		AUTHORS COPYING ChangeLog NEWS
 
+pre-build:
+	@${RM} ${WRKSRC}/src/pynotify.c
+
 .ifndef (NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
--- py-notify.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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