From 8c8aa7c44dd3e84b4ff29821f15dc6e294588aed Mon Sep 17 00:00:00 2001 From: db Date: Sat, 2 Apr 2005 18:17:22 +0000 Subject: [PATCH] Add a patch to replace the symbolic link draw.lua with a copy of the regular file look-cleanviolet.lua it points to. This fixes @sample complaining about a missing file while installing/removing the package. Bump patchlevel. ok alek@ --- x11/ion/Makefile | 4 ++-- x11/ion/patches/patch-etc_Makefile | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 x11/ion/patches/patch-etc_Makefile diff --git a/x11/ion/Makefile b/x11/ion/Makefile index de988b1416f..7678d876f7c 100644 --- a/x11/ion/Makefile +++ b/x11/ion/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.17 2004/12/29 15:20:52 espie Exp $ +# $OpenBSD: Makefile,v 1.18 2005/04/02 18:17:22 db Exp $ COMMENT= "light, keyboard friendly window manager" DISTNAME= ion-2-20040729 -PKGNAME= ion-2.20040729p0 +PKGNAME= ion-2.20040729p1 HOMEPAGE= http://modeemi.cs.tut.fi/~tuomov/ion/ CATEGORIES= x11 diff --git a/x11/ion/patches/patch-etc_Makefile b/x11/ion/patches/patch-etc_Makefile new file mode 100644 index 00000000000..387d5e73227 --- /dev/null +++ b/x11/ion/patches/patch-etc_Makefile @@ -0,0 +1,20 @@ +$OpenBSD: patch-etc_Makefile,v 1.1 2005/04/02 18:17:22 db Exp $ +--- etc/Makefile.orig Thu Jul 29 05:10:32 2004 ++++ etc/Makefile Sat Apr 2 18:21:00 2005 +@@ -14,6 +14,8 @@ ETC = ion.lua ion-bindings.lua ion-menus + look-greyviolet.lua look-ios.lua look-cleanviolet.lua \ + look-simpleblue.lua look-wheat2.lua look-cleanios.lua + ++DRAW = draw.lua ++ + ###################################### + + include $(TOPDIR)/rules.mk +@@ -25,5 +27,5 @@ _install: + for i in $(ETC); do \ + $(INSTALL) -m $(DATA_MODE) $$i $(ETCDIR); \ + done +- rm -f $(ETCDIR)/draw.lua +- ln -s look-cleanviolet.lua $(ETCDIR)/draw.lua ++ rm -f $(ETCDIR)/$(DRAW) ++ $(INSTALL) -m $(DATA_MODE) look-cleanviolet.lua $(ETCDIR)/$(DRAW)