Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 12:44:06 -0500
From:      Erik Greenwald <erik@smluc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erik@math.smsu.edu
Subject:   ports/53114: [Maintainer Upgrade]  databases/gauche-gdbm  0.6.8 -> 0.7
Message-ID:  <200306091744.h59Hi6mO001031@xarx.localdomain>
Resent-Message-ID: <200306091750.h59Ho7gY050590@freefall.freebsd.org>

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

>Number:         53114
>Category:       ports
>Synopsis:       [Maintainer Upgrade]  databases/gauche-gdbm  0.6.8 -> 0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 10:50:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fenris 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 13:03:07 CDT 2003 root@fenris:/usr/obj/usr/src/sys/FENRIS i386


>Description:

Makes it compilable again (must be kept in sync with lang/gauche)

Some very horrible hackery has been introduced to cope with the new libtool
approach, if someone has an idea for doing this cleaner, please let me know
(erik@smluc.org, aim ErikGreenwald, or efnet ``Erik)

>How-To-Repeat:
>Fix:

--- gauche-gdbm.patch begins here ---
diff -Nurb databases/gauche-gdbm.orig/Makefile databases/gauche-gdbm/Makefile
--- databases/gauche-gdbm.orig/Makefile	Sun Jun  1 14:53:02 2003
+++ databases/gauche-gdbm/Makefile	Mon Jun  9 12:23:04 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gdbm
-PORTVERSION=	0.6.8	# Keep this in sync with lang/gauche
+PORTVERSION=	0.7	# Keep this in sync with lang/gauche
 CATEGORIES=	databases
 MASTER_SITES=	# none
 PKGNAMEPREFIX=	gauche-
@@ -16,27 +16,24 @@
 COMMENT=	GDBM interface for Gauche
 
 BUILD_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT} \
-		${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:configure
+		${NONEXISTENT}:${PORTSDIR}/${GAUCHE_PORT}:build
 LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
 RUN_DEPENDS=	gosh:${PORTSDIR}/${GAUCHE_PORT}
 
 GAUCHE_PORT=	lang/gauche
 
 WRKSRC=		${WRKDIR}/dbm
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
 MAKE_ARGS=	GOSH=gosh \
 		OPTFLAGS="${CFLAGS} -I${LOCALBASE}/include"
 PLIST_SUB=	VERSION="${PORTVERSION}" \
 		TARGET="${CONFIGURE_TARGET}"
+USE_REINPLACE=	yes
 
 do-extract:
 	${MKDIR} ${WRKDIR}
-	${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT}; ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
+	${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
 
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/gdbm.scm `gauche-config --syslibdir`/dbm/
-	${INSTALL_DATA} ${WRKSRC}/gdbm.so `gauche-config --sysarchdir`/
+do-configure:
+	cd `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC` && ./configure --with-local=${LOCALBASE} --prefix=${LOCALBASE} --target=${CONFIGURE_TARGET} --host=${CONFIGURE_HOST} --build=${CONFIGURE_BUILD} && ${REINPLACE_CMD} -e "s/archdir/&|sed 's,unknown-freebsd,portbld-freebsd,'/" ext/Makefile.ext
 
 .include <bsd.port.mk>
diff -Nurb databases/gauche-gdbm.orig/pkg-plist databases/gauche-gdbm/pkg-plist
--- databases/gauche-gdbm.orig/pkg-plist	Sun Jun  1 14:53:02 2003
+++ databases/gauche-gdbm/pkg-plist	Mon Jun  9 12:36:34 2003
@@ -1,2 +1,8 @@
+lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.la
 lib/gauche/%%VERSION%%/%%TARGET%%/gdbm.so
+lib/gauche/%%VERSION%%/%%TARGET%%/ndbm.la
+lib/gauche/%%VERSION%%/%%TARGET%%/ndbm.so
 share/gauche/%%VERSION%%/lib/dbm/gdbm.scm
+share/gauche/%%VERSION%%/lib/dbm/ndbm.scm
+share/gauche/%%VERSION%%/lib/dbm.scm
+@dirrm share/gauche/%%VERSION%%/lib/dbm
--- gauche-gdbm.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?200306091744.h59Hi6mO001031>