aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-hack_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames/files/patch-hack_Makefile')
-rw-r--r--games/bsdgames/files/patch-hack_Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-hack_Makefile b/games/bsdgames/files/patch-hack_Makefile
new file mode 100644
index 000000000000..384893572eb5
--- /dev/null
+++ b/games/bsdgames/files/patch-hack_Makefile
@@ -0,0 +1,12 @@
+Index: hack/Makefile
+@@ -17,7 +17,9 @@
+ MAN= hack.6
+ DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
+ LDADD= -ltermcap -lcompat
+-CFLAGS+= -fwritable-strings -I${.CURDIR} -I.
++CFLAGS+= -DPOSIX -I${.CURDIR} -I.
++BINGRP=games
++BINMODE=2555
+ FILES= rumors help hh data
+ FILESMODE_rumors= 440
+ FILESGRP= ${BINGRP}