[tex-live] DESTDIR not working

Dr. Werner Fink werner at suse.de
Wed Aug 16 17:00:16 CEST 2006


On Wed, Aug 16, 2006 at 12:23:25PM +0100, Jonathan Kew wrote:
> On 16 Aug 2006, at 10:43 am, Dr. Werner Fink wrote:
> >
> >Beside this I'd like to see the following change in
> >libs/freetype2/configure:
> >
> >
> >--- libs/freetype2/configure
> >+++ libs/freetype2/configure	2006-08-15 15:38:44.000000000 +0000
> >@@ -91,6 +91,10 @@
> >
> > # call make
> >
> >-CFG="$@" $GNUMAKE setup unix
> >+CFG=
> >+for x in ${1+"$@"}; do
> >+  CFG="$CFG \"$x\""
> >+done
> >+CFG=$CFG $GNUMAKE setup unix
> >
> > # eof
> >
> >to be able to handle configure options with string including spaces.
> 
> This file comes directly from the Freetype project; while we could  
> modify it in TL, I'd prefer to see the change happen upstream. Could  
> you submit it to the Freetype developers?

Hmmm ... let's see if Werner Lemberg can help here.  Just another
problem with the main configure:

--- configure.in
+++ CONFIgure.in	2006-08-16 14:49:34.000000000 +0000
@@ -233,9 +233,9 @@
 test -d utils || mkdir utils
 for pkg in $PKGS; do
   if test -d $srcdir/utils/$pkg; then
-    if eval "test \"`echo '$with_'${pkg}`\" != no"; then
+    if eval "test \"`echo '$with_'${pkg}|sed 's/-/_/g'`\" != no"; then
       ESUBDIRS="$ESUBDIRS utils/$pkg"
-      if test $pkg = sam2p; then
+      if test $pkg = sam2p -a ! $srcdir/utils/sam2p -ef utils/sam2p; then
         # this is a terrible kludge, but sam2p configure actively
         # defeats srcdir!=objdir support, and Peter S. doesn't want to
         # fix it.  So copy the entire sam2p srcdir into objdir.
--- configure
+++ configure	2006-08-16 14:45:35.000000000 +0000
@@ -4766,9 +4766,9 @@
 test -d utils || mkdir utils
 for pkg in $PKGS; do
   if test -d $srcdir/utils/$pkg; then
-    if eval "test \"`echo '$with_'${pkg}`\" != no"; then
+    if eval "test \"`echo '$with_'${pkg}|sed 's/-/_/g'`\" != no"; then
       ESUBDIRS="$ESUBDIRS utils/$pkg"
-      if test $pkg = sam2p; then
+      if test $pkg = sam2p -a ! $srcdir/utils/sam2p -ef utils/sam2p; then
         # this is a terrible kludge, but sam2p configure actively
         # defeats srcdir!=objdir support, and Peter S. doesn't want to
         # fix it.  So copy the entire sam2p srcdir into objdir.

to be sure that `--without-lcdf-typetools' does not fail and that
for srcdir=. the utils/sam2p directory isn't removed.

       Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr


More information about the tex-live mailing list