pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39806: net/hobbitmon builds incorrect (and uncorrected) perl path into script



The following reply was made to PR pkg/39806; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: kre%munnari.OZ.AU@localhost, gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/39806: net/hobbitmon builds incorrect (and uncorrected)
        perl path into script
Date: Sun, 26 Oct 2008 19:17:44 +0000

 On Sun, Oct 26, 2008 at 10:00:01AM +0000, kre%munnari.OZ.AU@localhost wrote:
  > ERROR: [check-interpreter.mk] The interpreter "/usr/bin/perl" of 
"/usr/pkg/hobbit/cgi-bin/maint.pl" does not exist.
  > [...]
  >     I think there's some pkgsrc magic for fixing things like this.
  >     I expect it just needs to be turned on by someone who knows how.
 
 This ought to do the trick (but I haven't tested it):
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/net/hobbitmon/Makefile,v
 retrieving revision 1.22
 diff -u -r1.22 Makefile
 --- Makefile   18 Jan 2008 05:08:42 -0000      1.22
 +++ Makefile   26 Oct 2008 19:17:09 -0000
 @@ -3,7 +3,7 @@
  
  DISTNAME=     hobbit-4.0-beta6
  PKGNAME=      hobbit-4.0b6
 -PKGREVISION=  11
 +PKGREVISION=  12
  CATEGORIES=   net
  MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hobbitmon/}
  
 @@ -14,7 +14,8 @@
  DEPENDS+=     fping>2:../../net/fping
  
  HAS_CONFIGURE=        YES
 -USE_TOOLS+=   gmake
 +USE_TOOLS+=   gmake perl:run
 +REPLACE_PERL+=        hobbitd/maint.pl.DIST
  INSTALL_TARGET=       setup
  
  .include "../../mk/bsd.prefs.mk"
 
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index