pkgsrc/mail/elm/patches/patch-aq
dholland 748aedba97 DESTDIR support. Use SPECIAL_PERMS. Fix some pkglint. Add missing
manpage link. Fix getline lossage on -current. Wrap the homemade
config.sh substitutions in @@ to make them more robust. PKGREVISION++
2010-04-15 06:50:46 +00:00

24 lines
671 B
Text

$NetBSD: patch-aq,v 1.1 2010/04/15 06:50:46 dholland Exp $
destdir support.
--- nls/Install~ 2005-08-18 12:49:24.000000000 +0000
+++ nls/Install
@@ -40,12 +40,12 @@ do
echo "\"$InDir\" is not a directory"
continue
fi
- if [ ! -d $DestDir ]
+ if [ ! -d $DESTDIR$DestDir ]
then
- echo "\"$DestDir\" is not a directory"
+ echo "\"$DESTDIR$DestDir\" is not a directory"
continue
fi
- /bin/rm -f $DestDir/$CATNAME
- echo "$GENCAT $DestDir/$CATNAME $InDir/*.m"
- $GENCAT $DestDir/$CATNAME $InDir/*.m
+ /bin/rm -f $DESTDIR$DestDir/$CATNAME
+ echo "$GENCAT $DESTDIR$DestDir/$CATNAME $InDir/*.m"
+ $GENCAT $DESTDIR$DestDir/$CATNAME $InDir/*.m
done < $LANGFILE