Bug 47351 - cannot make index in /usr/ports
Summary: cannot make index in /usr/ports
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 08:10 UTC by Dmitry Suhodoev
Modified: 2003-01-23 16:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Suhodoev 2003-01-22 08:10:05 UTC
make index as root in /usr/ports and it will failed and reports:
http://www.bingo.ru/~raven/FreeBSD/make_index.errors
http://www.bingo.ru/~raven/FreeBSD/make_index.ok

/usr/ports are updated by cvsupfile:
*default host=cvsup2.ru.FreeBSD.org
*default base=/usr/local/raven
*default prefix=/usr
*default release=cvs delete use-rel-suffix compress
*default tag=RELENG_4_7
*default date=2003.01.21.07.00.00
src-all
ports-all tag=.

How-To-Repeat: just run "make index" in /usr/ports as root
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2003-01-22 20:52:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

dinoex broke the index again
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2003-01-23 04:21:12 UTC
State Changed
From-To: open->patched

- migrate dependency gnustep-xgps -> gnustep-back 
- don't depend on gnustep-objc in CURRENT 
- Fix PLIST as we are here 

Index: Makefile 
=================================================================== 
RCS file: /home/ncvs/ports/devel/ruby-gnustep/Makefile,v 
retrieving revision 1.5 
diff -u -r1.5 Makefile 
--- Makefile	6 Oct 2002 21:05:25 -0000	1.5 
+++ Makefile	23 Jan 2003 04:03:23 -0000 
@@ -7,6 +7,7 @@ 

PORTNAME=	gnustep 
PORTVERSION=	0.2.1 
+PORTREVISION=	1 
CATEGORIES=	devel ruby 
MASTER_SITES=	ftp://ftp.gnustep.org/pub/gnustep/libs/ 
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX} 
@@ -17,15 +18,13 @@ 
MAINTAINER=	knu@FreeBSD.org 

BUILD_DEPENDS=	${GNUSTEP_PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make  
-		${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc  
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base  
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui  
-		${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps 
+		${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back 
RUN_DEPENDS=	${GNUSTEP_PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make  
-		${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc  
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base  
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui  
-		${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps 
+		${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back 

USE_RUBY=	yes 
RUBY_WITH_PTHREAD=	yes 
@@ -40,7 +39,7 @@ 

SYSLIBDIR=	${GNUSTEP_PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L} 
COMBOLIBDIR=	${SYSLIBDIR}/gnu-gnu-gnu 
-XGPSBUNDLEDIR=	${GNUSTEP_PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/ 
+BACKBUNDLEDIR=	${GNUSTEP_PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/ 

.include <bsd.port.pre.mk> 

@@ -48,6 +47,11 @@ 
GNU_ARCH=	ix86 
.else 
GNU_ARCH=	${MACHINE_ARCH} 
+.endif 
+ 
+.if ${OSVERSION} < 500000 
+BUILD_DEPENDS+=	${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc 
+RUN_DEPENDS+=	${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc 
.endif 

MAKEFILE=	GNUmakefile 
Index: pkg-plist 
=================================================================== 
RCS file: /home/ncvs/ports/devel/ruby-gnustep/pkg-plist,v 
retrieving revision 1.4 
diff -u -r1.4 pkg-plist 
--- pkg-plist	6 Oct 2002 21:05:25 -0000	1.4 
+++ pkg-plist	23 Jan 2003 04:03:23 -0000 
@@ -61,6 +61,7 @@ 
%%RUBY_SITELIBDIR%%/rigs/NSURLHandle.rb 
%%RUBY_SITELIBDIR%%/rigs/NSView.rb 
%%RUBY_SITELIBDIR%%/rigs/NSWindow.rb 
+%%RUBY_SITEARCHLIBDIR%%/librigs.so 
@dirrm %%RUBY_SITELIBDIR%%/rigs 
GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0.2.1 
GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2003-01-23 16:15:34 UTC
State Changed
From-To: patched->closed

committed.