From owner-freebsd-ports Thu Apr 8 10:42: 7 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 68FA714E2D for ; Thu, 8 Apr 1999 10:42:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id KAA87521; Thu, 8 Apr 1999 10:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [194.77.233.242]) by hub.freebsd.org (Postfix) with ESMTP id 4E7A915ACE for ; Thu, 8 Apr 1999 10:35:17 -0700 (PDT) (envelope-from hausen@punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.8.8/8.8.7) id TAA24209; Thu, 8 Apr 1999 19:33:15 +0200 (CEST) (envelope-from ry93) Message-Id: <199904081733.TAA24209@hugo10.ka.punkt.de> Date: Thu, 8 Apr 1999 19:33:15 +0200 (CEST) From: "Patrick M. Hausen" Reply-To: To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11030: INN port in 3.1-RELEASE broken wrt Perl 5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11030 >Category: ports >Synopsis: INN port gets confused about position of Perl binary >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 8 10:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Patrick M. Hausen >Release: FreeBSD 3.1-RELEASE i386 >Organization: WEB Internet Services Systemhaus GmbH >Environment: Virgin 3.1-RELEASE, INN port from ports collection as supplied >Description: When installing INN either with or without Perl support, the build process finds /usr/bin/perl, gets the correct version, but looks for the libs in /usr/local/lib/perl5.00502 and inserts "#!/usr/local/bin/perl5.00502" in all the scripts. The port installs without perl support anyway, but all the auxiliary scripts like innmail don't work. With perl support the build fails completely. >How-To-Repeat: install 3.1-RELEASE # cd /usr/ports/news/inn edit Makefile to set "USE_PERL5?= DO" # make install >Fix: I changed the config.data so I could install my new newsserver, but I'm not sure "how to do it right" [tm] ;-) There seems to be a lot of magic in there - I din't find where things like e.g. "!!USEPERL5VER!!" get expanded, so I hardcoded everything I needed to change. A better fix would be to change that "!!"-stuff so it get's expanded correctly. My changes for starters: _PATH_PERL /usr/bin/perl!!USEPERL5VER!! PERL_LIB -L/usr/libdata/perl/5.00502 -lperl -lm PERL_INC -I/usr/libdata/perl/5.00502/mach/CORE BTW: Why is it "/usr/libdata/perl/5.00502/mach/CORE"? Shouldn't that read "i386-freebsd" or something instead of "mach"? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message