Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  6 Sep 2001 07:49:57 +0100 (BST)
From:      Dominic Mitchell <dom@happygiraffe.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30369: devel/p5-File-Spec is broken
Message-ID:  <20010906064957.4E41C6CB@ppe.happygiraffe.net>

next in thread | raw e-mail | index | archive | help

>Number:         30369
>Category:       ports
>Synopsis:       devel/p5-File-Spec is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 00:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Mitchell
>Release:        FreeBSD 4.4-RC i386
>Organization:
Big Angry Orange Things inc.
>Environment:
System: FreeBSD ppe.happygiraffe.net 4.4-RC FreeBSD 4.4-RC #1: Thu Aug 16 14:35:43 BST 2001 root@ppe.happygiraffe.net:/usr/obj/usr/src/sys/PPE i386

	
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
    cppflags=''
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E -lperl -lm '
    libpth=/usr/lib
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so.3
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
    cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '


Characteristics of this binary (from libperl): 
  Built under freebsd
  Compiled at Aug 16 2001 13:58:46
  @INC:
    /usr/libdata/perl/5.00503/mach
    /usr/libdata/perl/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005
    .
>Description:
	By default, when running "make install" in this port, it
	installs files to /usr/libdata/perl/... When they should be
	going to /usr/local/lib/perl/...  This is because File::Spec is
	a builtin module, so it detects the old install.
>How-To-Repeat:
	# cd /usr/ports/devel/p5-File-Spec && make install
>Fix:

	This patch ensures that the module gets installed in the correct
	place.

diff -urN /usr/ports/devel/p5-File-Spec/Makefile p5-File-Spec/Makefile
--- /usr/ports/devel/p5-File-Spec/Makefile	Tue Jun  5 08:56:23 2001
+++ p5-File-Spec/Makefile	Thu Sep  6 07:44:58 2001
@@ -25,4 +25,6 @@
 		File::Spec::Win32.3
 MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
+INSTALL_TARGET=	install_site
+
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010906064957.4E41C6CB>