openbsd-ports/editors/axe/patches/patch-Axe_rules
naddy cced4a53fe - re-enable
- regen patches
- make it build and work with XF4; patches from Hwei Sheng Teoh
  <hsteoh@debian.org> via Debian
- prettify
2001-08-22 00:04:41 +00:00

16 lines
739 B
Plaintext

$OpenBSD: patch-Axe_rules,v 1.1 2001/08/22 00:04:41 naddy Exp $
--- Axe.rules.orig Wed Apr 6 18:07:33 1994
+++ Axe.rules Tue Aug 21 02:43:48 2001
@@ -72,7 +72,7 @@ extension:: @@\
#define InstallCoaxe(bindest) @@\
InstallProgram(coaxe,bindest) @@\
install:: @@\
- if [ -f bindest/faxe ]; then set +x; \ @@\
- else (cd bindest; set -x; $(LN) coaxe faxe); fi @@\
- if [ -f bindest/poleaxe ]; then set +x; \ @@\
- else (cd bindest; set -x; $(LN) coaxe poleaxe); fi
+ if [ -f $(DESTDIR)bindest/faxe ]; then set +x; \ @@\
+ else (cd $(DESTDIR)bindest; set -x; $(LN) coaxe faxe); fi @@\
+ if [ -f $(DESTDIR)bindest/poleaxe ]; then set +x; \ @@\
+ else (cd $(DESTDIR)bindest; set -x; $(LN) coaxe poleaxe); fi