Date: Fri, 20 Jul 2012 08:34:40 +0100 From: Chris Rees <crees@FreeBSD.org> To: Jason Hellenthal <jhellenthal@dataix.net> Cc: ports@freebsd.org, timur@freebsd.org Subject: Re: SAMBA_PORT= usage different by port. Message-ID: <CADLo83_DmydVWOyd-UBYTtzzNPfnmUYVbhsD6fzr5fBT5nKmMg@mail.gmail.com> In-Reply-To: <20120719170401.GA19240@DataIX.net> References: <20120719170401.GA19240@DataIX.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19 July 2012 18:04, Jason Hellenthal <jhellenthal@dataix.net> wrote: > > It seems that the usage of SAMBA_PORT= var has been confused quite a > bit. > > SAMBA_PORT= as judged by ports/net/samba* is defined to be "net/samba??" > while ports/net/samba-libsmbclient defines it as "samba??" > > I found when creating index that no matter which way you define it both > of the two ways will end up indicating failure for different ports > because /usr/ports/samba?? does not exist or /usr/ports/net/net/samba?? > does not exist. > > Can someone please go through these ports and unify there usage of > SAMBA_PORT. > > /usr/ports/net/samba-libsmbclient/Makefile:16:SAMBA_PORT= samba34 > /usr/ports/net/samba-libsmbclient/Makefile:19:MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} > /usr/ports/net/samba-nmblookup/Makefile:16:SAMBA_PORT= samba34 > /usr/ports/net/samba-nmblookup/Makefile:19:MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} > /usr/ports/net/samba-pdbsql/Makefile:23:SAMBA_PORT?= net/samba34 > /usr/ports/net/samba-pdbsql/Makefile:30:SAMBA_WRKSRC!= cd ${PORTSDIR}/${SAMBA_PORT} && ${MAKE} -V WRKSRC > /usr/ports/net/samba-pdbsql/Makefile:34:SAMBA_MODULEDIR!= cd ${PORTSDIR}/${SAMBA_PORT} && ${MAKE} -V SAMBA_MODULEDIR > /usr/ports/net/samba-pdbsql/Makefile:40:BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${SAMBA_PORT}:configure > /usr/ports/net/samba-smbclient/Makefile:16:SAMBA_PORT= samba36 > /usr/ports/net/samba-smbclient/Makefile:21:MASTERDIR= ${.CURDIR}/../${SAMBA_PORT} > /usr/ports/net/samba4-devel/Makefile:7:PORTNAME?= ${SAMBA_PORTNAME} > /usr/ports/net/samba4-devel/Makefile:23:SAMBA_PORTNAME= samba4 > /usr/ports/net/samba4-devel/Makefile:25:SAMBA_DISTNAME= ${SAMBA_PORTNAME:S|4$||}-${SAMBA_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|} > /usr/ports/net/samba4-devel/Makefile:26:OPTIONSFILE= ${PORT_DBDIR}/${SAMBA_PORTNAME}/options > /usr/ports/net/samba4-devel/Makefile:187:USE_RC_SUBR= ${SAMBA_PORTNAME} I've usually seen category/port used. I'm sure Timur will have a look, but for quicker results you could send a PR with a patch. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_DmydVWOyd-UBYTtzzNPfnmUYVbhsD6fzr5fBT5nKmMg>