ports/50900: py-gnome2 hates installed older versions [patch]

Pav Lucistnik pav at oook.cz
Sun Apr 13 14:20:09 UTC 2003


>Number:         50900
>Category:       ports
>Synopsis:       py-gnome2 hates installed older versions [patch]
>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 13 07:20:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pav Lucistnik
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pav.oook.cz 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Wed Mar 12 23:45:51 GMT 2003 root at pav.oook.cz:/usr/obj/usr/src/sys/PAV i386


>Description:
x11-toolkits/py-gnome2 have pkg-install script called in pre-build target,
checking for existency of py-gnome installation on the system. This script
prevent upgrading of py-gnome2 using portupgrade, in fact, it prevents
building py-gnome2 if any version of py-gnome or py-gnome2 is installed
on the system.

Also the script itself is technically incorrect, because it detects
any version of py-gnome as py-gnome1 because py-gnome2 installs
as py-gnome-1.99.16

>How-To-Repeat:

===>  Building for py-gnome-1.99.16_1
py-gnome-1.99.15_1  A set of Python bindings for GNOME 2
py-gnome for GTK+ 1.x was detected.
This packages cannot coexist with py-gnome.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-gnome2.

>Fix:
Move script execution to pre-install stage.

--- Makefile.orig	Thu Apr 10 22:05:45 2003
+++ Makefile	Sun Apr 13 16:01:42 2003
@@ -35,7 +35,7 @@
 EG_DST_DIR=	${PREFIX}/share/examples/py-gnome
 
 .if !defined(PACKAGE_BUILDING)
-pre-build:
+pre-install:
 	@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list