openbsd-ports/lang/petite-chez/patches/patch-custom_Mf-install_in
wcmaier 354c8b831d Petite Chez Scheme is a complete Scheme system that is fully compatible
with Chez Scheme but uses high-speed threaded interpreter technology in
place of Chez Scheme's incremental native-code compiler. Petite Chez
Scheme may be used without license, fee or royalty for any purpose,
including for resale as part of a commercial product. 

Submitted by (a very patient) Aaron W. Hsu <arcfide at sacrideo dot us>
with license help and sanity checking from sthen@.
2009-04-24 13:13:45 +00:00

33 lines
1.1 KiB
Plaintext

Fix example path and don't install with restrictive permissions.
$OpenBSD: patch-custom_Mf-install_in,v 1.1.1.1 2009/04/24 13:13:45 wcmaier Exp $
--- custom/Mf-install.in.orig Tue Mar 13 12:03:19 2007
+++ custom/Mf-install.in Wed Feb 11 16:43:12 2009
@@ -24,7 +24,7 @@ InstallBin=${InstallPrefix}/bin
InstallLib=${InstallPrefix}/lib/csv7.4
# example program directory
-InstallLibLib=${InstallLib}/lib
+InstallLibLib=${InstallPrefix}/share/examples/petite-chez
# base executable and heap file directory
InstallLibBin=${InstallLib}/$m
@@ -158,7 +158,7 @@ petitebininstall: ${Bin}
/bin/rm -f ${PetitePath};\
ln -f ${SchemePath} ${PetitePath};\
else\
- $I -m 511 ${Petite} ${PetitePath};\
+ $I -m 555 ${Petite} ${PetitePath};\
fi
petitemaninstall: petite.1 ${Man}
@@ -196,7 +196,7 @@ schemebininstall: ${Bin}
/bin/rm -f ${SchemePath};\
ln -f ${PetitePath} ${SchemePath};\
else\
- $I -m 511 ${Scheme} ${SchemePath};\
+ $I -m 555 ${Scheme} ${SchemePath};\
fi
schememaninstall: scheme.1 ${Man}