Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 03:51:36 -0400
From:      parv <parv_fm@emailgroups.net>
To:        Edwin Groothuis <edwin@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/38602: x11-wm/tvtwm is confused about PREFIX
Message-ID:  <20030407075136.GA1778@moo.holy.cow>
In-Reply-To: <200304062346.h36NkRbN052478@freefall.freebsd.org>
References:  <200304062346.h36NkRbN052478@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <200304062346.h36NkRbN052478@freefall.freebsd.org>,
wrote Edwin Groothuis thusly...
>
> Synopsis: x11-wm/tvtwm is confused about PREFIX
> 
> State-Changed-From-To: open->closed
> State-Changed-By: edwin
> State-Changed-When: Sun Apr 6 16:45:50 PDT 2003
> State-Changed-Why: 
> It installs properly here with PREFIX set to /home/edwin/X11R6-5.
> THanks for your report!
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=38602

Problem is not solved yet.  USE_X_PREFIX seem to override PREFIX;
empty +CONTENTS is put in the /var/db/pkg/tvtwm-pl11.  Below is the
relevant output end of following commands...

  # ls -alF /tmp/test
  # make -d v install PREFIX=/tmp/test
  # ls -alF /tmp/test/bin
  # make deinstall
  # ls -alF /var/db/pkg/tvtwm-pl11/

total 4
drwxr-xr-x  2 root  wheel  512 Apr  7 03:40 ./
drwxrwxrwt  4 root  wheel  512 Apr  7 03:33 ../
...
Applying :S to ""
Result is ""
Applying :S to "/usr2/local/lib/perl5/site_perl/5.8.0"
Result is "lib/perl5/site_perl/5.8.0"
Applying :S to "/tmp/test/share/doc/tvtwm"
Result is "share/doc/tvtwm"
Applying :S to "/tmp/test/share/examples/tvtwm"
Result is "share/examples/tvtwm"
Applying :S to "/tmp/test/share/tvtwm"
Result is "share/tvtwm"
Applying :S to "OSREL=4.8 PREFIX=%D LOCALBASE=/usr2/local X11BASE=/usr2/X11R6 PORTDOCS="" PORTOBJFORMAT=elf XAWVER=7 PERL_VERSION=5.8.0  PERL_VER=5.8.0  PERL_ARCH=mach  SITE_PERL=lib/perl5/site_perl/5.8.0 DOCSDIR="share/doc/tvtwm"  EXAMPLESDIR="share/examples/tvtwm"  DATADIR="share/tvtwm""
Result is "OSREL=4.8!g PREFIX=%D!g LOCALBASE=/usr2/local!g X11BASE=/usr2/X11R6!g PORTDOCS=""!g PORTOBJFORMAT=elf!g XAWVER=7!g PERL_VERSION=5.8.0!g PERL_VER=5.8.0!g PERL_ARCH=mach!g SITE_PERL=lib/perl5/site_perl/5.8.0!g DOCSDIR="share/doc/tvtwm"!g EXAMPLESDIR="share/examples/tvtwm"!g DATADIR="share/tvtwm"!g"
Applying :S to "OSREL=4.8!g PREFIX=%D!g LOCALBASE=/usr2/local!g X11BASE=/usr2/X11R6!g PORTDOCS=""!g PORTOBJFORMAT=elf!g XAWVER=7!g PERL_VERSION=5.8.0!g PERL_VER=5.8.0!g PERL_ARCH=mach!g SITE_PERL=lib/perl5/site_perl/5.8.0!g DOCSDIR="share/doc/tvtwm"!g EXAMPLESDIR="share/examples/tvtwm"!g DATADIR="share/tvtwm"!g"
Result is " -e s!%%OSREL=4.8!g  -e s!%%PREFIX=%D!g  -e s!%%LOCALBASE=/usr2/local!g  -e s!%%X11BASE=/usr2/X11R6!g  -e s!%%PORTDOCS=""!g  -e s!%%PORTOBJFORMAT=elf!g  -e s!%%XAWVER=7!g  -e s!%%PERL_VERSION=5.8.0!g  -e s!%%PERL_VER=5.8.0!g  -e s!%%PERL_ARCH=mach!g  -e s!%%SITE_PERL=lib/perl5/site_perl/5.8.0!g  -e s!%%DOCSDIR="share/doc/tvtwm"!g  -e s!%%EXAMPLESDIR="share/examples/tvtwm"!g  -e s!%%DATADIR="share/tvtwm"!g"
Applying :S to " -e s!%%OSREL=4.8!g  -e s!%%PREFIX=%D!g  -e s!%%LOCALBASE=/usr2/local!g  -e s!%%X11BASE=/usr2/X11R6!g  -e s!%%PORTDOCS=""!g  -e s!%%PORTOBJFORMAT=elf!g  -e s!%%XAWVER=7!g  -e s!%%PERL_VERSION=5.8.0!g  -e s!%%PERL_VER=5.8.0!g  -e s!%%PERL_ARCH=mach!g  -e s!%%SITE_PERL=lib/perl5/site_perl/5.8.0!g  -e s!%%DOCSDIR="share/doc/tvtwm"!g  -e s!%%EXAMPLESDIR="share/examples/tvtwm"!g  -e s!%%DATADIR="share/tvtwm"!g"
Result is "-e s!%%OSREL%%!4.8!g -e s!%%PREFIX%%!%D!g -e s!%%LOCALBASE%%!/usr2/local!g -e s!%%X11BASE%%!/usr2/X11R6!g -e s!%%PORTDOCS%%!""!g -e s!%%PORTOBJFORMAT%%!elf!g -e s!%%XAWVER%%!7!g -e s!%%PERL_VERSION%%!5.8.0!g -e s!%%PERL_VER%%!5.8.0!g -e s!%%PERL_ARCH%%!mach!g -e s!%%SITE_PERL%%!lib/perl5/site_perl/5.8.0!g -e s!%%DOCSDIR%%!"share/doc/tvtwm"!g -e s!%%EXAMPLESDIR%%!"share/examples/tvtwm"!g -e s!%%DATADIR%%!"share/tvtwm"!g"
post-install:@ = post-install
post-install:* = post-install
post-install:? = 
post-install:> = 
post-install-script:@ = post-install-script
post-install-script:* = post-install-script
post-install-script:? = 
post-install-script:> = 
Applying :S to "post-install-script"
Result is "post-install"
Applying :S to "post-install-script"
Result is "post-install"
compress-man:@ = compress-man
compress-man:* = compress-man
compress-man:? = 
compress-man:> = 
run-ldconfig:@ = run-ldconfig
run-ldconfig:* = run-ldconfig
run-ldconfig:? = 
run-ldconfig:> = 
fake-pkg:@ = fake-pkg
fake-pkg:* = fake-pkg
generate-commentfile:@ = generate-commentfile
generate-commentfile:* = generate-commentfile
generate-commentfile:? = 
generate-commentfile:> = 
Applying :Q to "Twm with a virtual desktop"
Result is "Twm\ with\ a\ virtual\ desktop"
fake-pkg:> = generate-commentfile
fake-pkg:? = generate-commentfile
*** Error code 2

Stop in /usr3/ports/x11-wm/tvtwm.
total 4
drwxr-xr-x   2 root  wheel  512 Apr  7 03:42 ./
drwxr-xr-x  11 root  wheel  512 Apr  7 03:42 ../
===>  Deinstalling for tvtwm-pl11
pkg_delete: package 'tvtwm-pl11' doesn't have a prefix
*** Error code 1

Stop in /usr3/ports/x11-wm/tvtwm.
total 8.0k
-rw-r--r--   1 root     wheel           0 Apr  7 03:42 +CONTENTS
drwxr-xr-x   2 root     wheel         512 Apr  7 03:42 ./
drwxr-xr-x 227 root     wheel        6.0k Apr  7 03:42 ../



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