ports/84103: [Maintainer Update] databases/gauche-gdbm fix for "broken pkg-plist"
Erik Greenwald
erik at smluc.org
Tue Jul 26 02:50:05 UTC 2005
>Number: 84103
>Category: ports
>Synopsis: [Maintainer Update] databases/gauche-gdbm fix for "broken pkg-plist"
>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: Tue Jul 26 02:50:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Erik Greenwald
>Release: FreeBSD 5.4-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD fenris 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #2: Fri Jun 10 23:00:35 EDT 2005 root at fenris:/usr/obj/usr/src/sys/FENRIS i386
>Description:
a little simplification and a little fixing.... and bumped the port
revision.
Turns out there was some auto* weirdness that caused the host vendor
to be listed as 'unknown' instead of 'portbld'. By using the port
'make configure' instead of the explicit ./configure, the vendor
variables are all sane again. Hopefully this approach will be a
bit more resiliant.
>How-To-Repeat:
>Fix:
--- databases_gauche-gdbm.patch begins here ---
Index: databases/gauche-gdbm/Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/gauche-gdbm/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- databases/gauche-gdbm/Makefile 23 Jul 2005 02:53:18 -0000 1.29
+++ databases/gauche-gdbm/Makefile 26 Jul 2005 02:41:54 -0000
@@ -7,6 +7,7 @@
PORTNAME= gdbm
PORTVERSION= 0.8.5 # Keep this in sync with lang/gauche
+PORTREVISION= 1
CATEGORIES= databases scheme
MASTER_SITES= # none
PKGNAMEPREFIX= gauche-
@@ -20,10 +21,6 @@
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
RUN_DEPENDS= gosh:${PORTSDIR}/${GAUCHE_PORT}
-BROKEN= Incorrect pkg-plist
-DEPRECATED= "${BROKEN}"
-EXPIRATION_DATE=2005-09-22
-
GAUCHE_PORT= lang/gauche
WRKSRC= ${WRKDIR}/dbm
@@ -33,12 +30,13 @@
TARGET="${CONFIGURE_TARGET}"
USE_REINPLACE= yes
+GUACHE_BUILDDIR=`cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC`
+
do-extract:
${MKDIR} ${WRKDIR}
- ${LN} -sf `cd ${PORTSDIR}/${GAUCHE_PORT} && ${MAKE} -V WRKSRC`/ext/dbm ${WRKDIR}/
+ ${LN} -sf ${GUACHE_BUILDDIR}/ext/dbm ${WRKDIR}/
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} && cd ext && ${REINPLACE_CMD} -e "s/archdir/&|sed 's,unknown-freebsd,portbld-freebsd,'/" Makefile.ext
cd ${WRKSRC} && make clean && ${REINPLACE_CMD} -e 's/^LIBFILES.*/LIBFILES = gdbm.so/' -e 's/^SCMFILES.*/SCMFILES = gdbm.scm/' Makefile
do-install:
--- databases_gauche-gdbm.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list