openbsd-ports/x11/xscreensaver/patches/patch-hacks_glx_Makefile_in
2001-11-21 19:35:44 +00:00

67 lines
2.2 KiB
Plaintext

$OpenBSD: patch-hacks_glx_Makefile_in,v 1.2 2001/11/21 19:35:45 lebel Exp $
--- hacks/glx/Makefile.in.orig Thu Oct 25 18:28:36 2001
+++ hacks/glx/Makefile.in Wed Nov 21 14:30:47 2001
@@ -9,7 +9,7 @@
srcdir = @srcdir@
VPATH = @srcdir@
-install_prefix =
+DESTDIR =
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@@ -131,7 +131,7 @@ install-strip:
# the hacks, in $HACKDIR
install-program:: $(EXES)
@exes="$(HACK_EXES)" ; \
- idir="$(install_prefix)$(HACKDIR)" ; \
+ idir="$(DESTDIR)$(HACKDIR)" ; \
if [ "$$exes" != "" ]; then \
if [ ! -d $$idir ]; then \
$(INSTALL_DIRS) $$idir ; \
@@ -145,7 +145,7 @@ install-program:: $(EXES)
# the xscreensaver-gl-helper program, in $bindir
install-program:: $(EXES)
@exes="@GL_UTIL_EXES@" ; \
- idir="$(install_prefix)$(bindir)" ; \
+ idir="$(DESTDIR)$(bindir)" ; \
if [ "$$exes" != "" ]; then \
if [ ! -d $$idir ]; then \
$(INSTALL_DIRS) $$idir ; \
@@ -158,7 +158,7 @@ install-program:: $(EXES)
install-man: $(MEN)
@men="$(MEN)" ; \
- idir="$(install_prefix)$(man1dir)" ; \
+ idir="$(DESTDIR)$(man1dir)" ; \
if [ ! -d $$idir ]; then \
$(INSTALL_DIRS) $$idir ; \
fi ; \
@@ -171,7 +171,7 @@ install-man: $(MEN)
# the hacks, in $HACKDIR
uninstall-program::
@exes="$(HACK_EXES)" ; \
- idir="$(install_prefix)$(HACKDIR)" ; \
+ idir="$(DESTDIR)$(HACKDIR)" ; \
for program in $$exes; do \
echo rm -f $$idir/$$program ; \
rm -f $$idir/$$program ; \
@@ -180,7 +180,7 @@ uninstall-program::
# the xscreensaver-gl-helper program, in $bindir
uninstall-program::
@exes="$(GL_UTIL_EXES)" ; \
- idir="$(install_prefix)$(bindir)" ; \
+ idir="$(DESTDIR)$(bindir)" ; \
for program in $$exes; do \
echo rm -f $$idir/$$program ; \
rm -f $$idir/$$program ; \
@@ -188,7 +188,7 @@ uninstall-program::
uninstall-man:
@men="$(MEN)" ; \
- idir="$(install_prefix)$(man1dir)" ; \
+ idir="$(DESTDIR)$(man1dir)" ; \
for man in $$men; do \
instname=`echo $$man | sed 's/\.man$$/\.$(mansuffix)/'` ; \
echo rm -f $$idir/$$instname ; \