openbsd-ports/games/toppler/patches/patch-Makefile_am

19 lines
709 B
Plaintext

$OpenBSD: patch-Makefile_am,v 1.1 2002/04/08 23:21:33 naddy Exp $
--- Makefile.am.orig Thu Jan 31 21:59:09 2002
+++ Makefile.am Tue Apr 9 01:11:14 2002
@@ -18,7 +18,10 @@ pkgdata_DATA = $(datafiles)
EXTRA_DIST = $(datafiles) $(headerfiles) VERSION
install-exec-hook:
- -(chgrp games $(bindir)/$$p; chmod g+s $(bindir)/$$p)
- install -d $(scoredir)
- touch $(scorefile)
- -(chgrp games $(scorefile); chmod g+rw $(scorefile))
+ -@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ chgrp games $(DESTDIR)$(bindir)/$$p; \
+ chmod g+s $(DESTDIR)$(bindir)/$$p; \
+ done
+ install -d $(DESTDIR)$(scoredir)
+ touch $(DESTDIR)$(scorefile)
+ -(chgrp games $(DESTDIR)$(scorefile); chmod g+rw $(DESTDIR)$(scorefile))