$NetBSD: patch-aa,v 1.4 2004/02/29 13:38:27 jdc Exp $ --- Imakefile.orig 1995-12-22 12:05:52.000000000 +0000 +++ Imakefile 2004-02-29 13:23:08.000000000 +0000 @@ -36,3 +36,3 @@ #if HasGcc -EXTRACCOPTIONS = -Wall -Wpointer-arith -Wwrite-strings -Wtraditional +EXTRACCOPTIONS = -Wall -Wpointer-arith -Wwrite-strings #endif /* HasGcc */ @@ -73,3 +73,3 @@ XCOMM SCORE = $(LOCAL)/lib/$(APP) -SCORE = $(LIBDIR)/$(APP) +SCORE = /var/games/$(APP) /* to install default gardens not in app_defaults/$(APP) @@ -86,3 +86,3 @@ XCOMM required for setuid, try one or the other, (the first is better) -XCOMM EXTRA_LOAD_FLAGS = -R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH} +XCOMM EXTRA_LOAD_FLAGS = -Wl,-R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH} XCOMM EXTRA_LOAD_FLAGS = -static @@ -95,3 +95,3 @@ XCOMM open access on the score file, 'cos transputers can't do setuid -INSTSCOREFLAGS = -m 777 +INSTSCOREFLAGS = -m 664 #else @@ -99,5 +99,5 @@ XCOMM these are set for a setuid xmris -OWNER = -o games -INSTSCOREFLAGS = $(OWNER) -m 755 -INSTMRISFLAGS = $(OWNER) $(INSTUIDFLAGS) +OWNER = -o bin -g games +INSTSCOREFLAGS = $(OWNER) -m 775 +INSTMRISFLAGS = $(OWNER) -m 2755 XCOMM normal install locations