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@
This commit is contained in:
db 2005-04-02 18:17:22 +00:00
parent 02338688e2
commit 8c8aa7c44d
2 changed files with 22 additions and 2 deletions

View File

@ -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

View File

@ -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)