svn commit: r494317 - head/devel/rubygem-daemon_controller

Matthias Fechner mfechner at freebsd.org
Sat Mar 2 08:50:59 UTC 2019


Am 01.03.2019 um 23:05 schrieb Sergey A. Osokin:
>  PORTNAME=	daemon_controller
>  PORTVERSION=	1.2.0
> +PORTREVISION=	1
>  CATEGORIES=	devel rubygems
>  MASTER_SITES=	RG
>  PKGNAMEPREFIX=	rubygem-
> @@ -10,9 +11,15 @@ PKGNAMEPREFIX=	rubygem-
>  MAINTAINER=	osa at FreeBSD.org
>  COMMENT=	Library for implementing daemon management capabilities
>  
> +LICENSE=	MIT
> +LICENSE_FILE=	${WRKSRC}/LICENSE.txt
> +
> +USES=		gem shebangfix
> +
>  NO_ARCH=	yes
>  
>  USE_RUBY=	yes
> -USES=		gem
> +SHEBANG_FILES=	rpm/get_distro_id.py \
> +		debian.template/rules
>  
>  .include <bsd.port.mk>
>
does not fix the problem for me.
If you do a commit, you can use PR to link to an existing PR, this will
add then a reference to the bug report and you do not have to add the
link manually.

The PKGNAMEPREFIX is not required, as the USES flag gem is adding it
already.

To fix one shebang problem I had to apply the following patch:
Index: Makefile
===================================================================
--- Makefile    (revision 494363)
+++ Makefile    (working copy)
@@ -6,7 +6,6 @@
 PORTREVISION=  1
 CATEGORIES=    devel rubygems
 MASTER_SITES=  RG
-PKGNAMEPREFIX= rubygem-

 MAINTAINER=    osa at FreeBSD.org
 COMMENT=       Library for implementing daemon management capabilities
@@ -14,7 +13,7 @@
 LICENSE=       MIT
 LICENSE_FILE=  ${WRKSRC}/LICENSE.txt

-USES=          gem shebangfix
+USES=          gem shebangfix python:env

 NO_ARCH=       yes


But that does not fix the `'/usr/bin/make' is an invalid shebang ` problem.

Maybe someone else has here an idea?


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20190302/fc029a36/attachment.sig>


More information about the svn-ports-all mailing list