Date: Tue, 27 Dec 2011 14:15:29 GMT From: scheidell@FreeBSD.org To: erik@bz.bzflag.bz, scheidell@FreeBSD.org, scheidell@FreeBSD.org, scheidell@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/163205: graphics/gauche-gl won't build with gauche 0.9.2 Message-ID: <201112271415.pBREFTEo065189@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: graphics/gauche-gl won't build with gauche 0.9.2 State-Changed-From-To: feedback->open State-Changed-By: scheidell State-Changed-When: Tue Dec 27 14:09:25 UTC 2011 State-Changed-Why: Back to the pool. There are too many inconsistancies in gauche- and gaughe-gl. Suggest you look at update to newest gauche, 0.5.1. STILL, HOWEVER, this and main gauche should have consistant use of /usr/local/share/gauche/ vs ../gauche-0.9/0.9.2. same with libs. this makefile is a START, but since I don't know where and how the applications themselves look for libs, I will not try to see if tinderbox will compile it. use this as a STARTING POINT, pay careful attention to MASTER_SITES (looks like it changed) BUILD_DEPENTS (you might need a minimum version to support new file trees) USE_LDCONFIG DATADIR (SITELIBDIR), gauche 0.9.2 wants it gauche-config --sitelibdir don't need the post patch (looks like upstream fixed) pay attention to pkg-plist. so, my starter patch: pcvs diff -Nu Makefile | less socket: Protocol not supported Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/gauche-gl/Makefile,v retrieving revision 1.30 diff -u -u -r1.30 Makefile --- Makefile 18 Dec 2011 21:45:39 -0000 1.30 +++ Makefile 27 Dec 2011 14:11:49 -0000 @@ -6,10 +6,9 @@ # PORTNAME= gl -PORTVERSION= 0.4.4 -PORTREVISION= 1 +PORTVERSION= 0.5.1 CATEGORIES= graphics scheme -MASTER_SITES= SF/gauche/Gauche-gl/${PORTVERSION} +MASTER_SITES= SF/gauche/Gauche-gl/ PKGNAMEPREFIX= gauche- DISTNAME= Gauche-${PORTNAME}-${PORTVERSION} EXTRACT_SUFX= .tgz @@ -17,27 +16,27 @@ MAINTAINER= erik@bz.bzflag.bz COMMENT= OpenGL binding for Gauche -BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche -RUN_DEPENDS= ${BUILD_DEPENDS} - -BROKEN= does not build +BUILD_DEPENDS= gauche>=0.9.2:${PORTSDIR}/lang/gauche +RUN_DEPENDS= gauche>=0.9.2:${PORTSDIR}/lang/gauche +# before you touch this above, see: portlint and error if you set build_depends = run_depends USE_GL= glut GNU_CONFIGURE= yes +VERSION= `gauche-config -V` +USE_LDCONFIG= lib/gauche/${VERSION}/${CONFIGURE_TARGET} MAKE_JOBS_UNSAFE= yes EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME} -PLIST_SUB= VERSION="`gauche-config -V`" \ - TARGET="${CONFIGURE_TARGET}" +SITELIBDIR= `gauche-config --sitelibdir | ${SED} -e 's|${PREFIX}||'` +PLIST_SUB= VERSION="${VERSION}" \ + TARGET="${CONFIGURE_TARGET}" \ + SITELIBDIR="${SITELIBDIR}" .if !defined(NOPORTDOCS) INFO= gauche-gl-refe gauche-gl-refj .endif -post-patch: - ${REINPLACE_CMD} s/VESRION/VERSION/ ${WRKSRC}/src/gen-ptrs.scm - do-install: cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET} cd ${WRKSRC}/lib; ${MAKE} ${INSTALL_TARGET} Responsible-Changed-From-To: scheidell->freebsd-ports-bugs Responsible-Changed-By: scheidell Responsible-Changed-When: Tue Dec 27 14:09:25 UTC 2011 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=163205
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112271415.pBREFTEo065189>