Date: Sat, 15 May 2004 20:11:39 +0200 From: Roman Neuhauser <neuhauser@chello.cz> To: Volker Stolz <vs@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/66635: [PATCH] science/lisvm: non-fetchable, update to 2.6 Message-ID: <20040515181139.GG1862@isis.wad.cz> In-Reply-To: <200405151753.i4FHrhiv028332@freefall.freebsd.org> References: <200405151753.i4FHrhiv028332@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline # vs@FreeBSD.org / 2004-05-15 10:53:43 -0700: > there's something fishy going on with the plist. Yeah, I thought it was strange, but didn't want to mix unrelated changes. How about the attached patch? -- FreeBSD 4.9-RELEASE-p2 8:09PM up 9:29, 4 users, load averages: 0.02, 0.04, 0.02 --raC6veAxrt5nqIoY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="science::libsvm.pkg-plist.patch" Index: science/libsvm/Makefile =================================================================== RCS file: /home/ncvs/ports/science/libsvm/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- science/libsvm/Makefile 22 Nov 2003 10:53:12 -0000 1.7 +++ science/libsvm/Makefile 15 May 2004 18:04:45 -0000 @@ -15,14 +15,11 @@ .if defined(WITH_PYTHON) USE_PYTHON= yes -PLIST= ${WRKDIR}/pkg-plist ALL_TARGET= all py MAKE_ARGS+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} -.endif - -.if defined(WITH_PYTHON) -pre-install: - @${CAT} ${PKGDIR}/pkg-plist.python ${PKGDIR}/pkg-plist > ${PLIST} +PKG_PLIST+= LIBSVM_PYTHON="" +.else +PKG_PLIST+= LIBSVM_PYTHON="@comment " .endif pre-everything:: Index: science/libsvm/pkg-plist =================================================================== RCS file: /home/ncvs/ports/science/libsvm/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- science/libsvm/pkg-plist 22 Nov 2003 10:53:12 -0000 1.2 +++ science/libsvm/pkg-plist 15 May 2004 18:03:02 -0000 @@ -1,6 +1,8 @@ bin/svm-predict bin/svm-scale bin/svm-train +%%LIBSVM_PYTHON%%%%PYTHONPREFIX_SITELIBDIR%%/svm.py +%%LIBSVM_PYTHON%%%%PYTHONPREFIX_SITELIBDIR%%/svmc.so %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%@dirrm %%DOCSDIR%% Index: science/libsvm/pkg-plist.python =================================================================== RCS file: science/libsvm/pkg-plist.python diff -N science/libsvm/pkg-plist.python --- science/libsvm/pkg-plist.python 21 May 2002 15:26:21 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,2 +0,0 @@ -lib/%%PYTHON_VERSION%%/site-packages/svm.py -lib/%%PYTHON_VERSION%%/site-packages/svmc.so --raC6veAxrt5nqIoY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040515181139.GG1862>