aboutsummaryrefslogtreecommitdiff
path: root/games/latrine/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'games/latrine/files/patch-Makefile.in')
-rw-r--r--games/latrine/files/patch-Makefile.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/latrine/files/patch-Makefile.in b/games/latrine/files/patch-Makefile.in
new file mode 100644
index 000000000000..83cdcd7adc3e
--- /dev/null
+++ b/games/latrine/files/patch-Makefile.in
@@ -0,0 +1,23 @@
+Index: Makefile.in
+@@ -12,7 +12,7 @@
+ CPPFLAGS = -I. -DSYSCONFFILE=\"${sysconfdir}/latrine.conf\" -DDICTDIR=\"${dictdir}\" -DLOCALEDIR=\"${localedir}\" @CPPFLAGS@
+ CFLAGS = -Wall -funroll-loops @CFLAGS@ @GLIB_CFLAGS@
+ LDFLAGS = -Wall @LDFLAGS@
+-LDLIBS = @LIBS@ @GLIB_LIBS@
++LDLIBS = @LIBS@ @GLIB_LIBS@ -lintl
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+@@ -41,10 +41,10 @@
+ ${INSTALL} -d ${DESTDIR}${localedir}/`basename $$i .mo`/LC_MESSAGES; \
+ ${INSTALL_DATA} $$i ${DESTDIR}${localedir}/`basename $$i .mo`/LC_MESSAGES/latrine.mo; \
+ done
+- ${INSTALL} -d ${DESTDIR}${dictdir}
++# ${INSTALL} -d ${DESTDIR}${dictdir}
+ # ${INSTALL_DATA} ${KEYMAPS} ${DESTDIR}${dictdir}
+ ${INSTALL} -d ${DESTDIR}${sysconfdir}
+- test -e ${DESTDIR}${sysconfdir}/latrine.conf || ${INSTALL_DATA} latrine.conf ${DESTDIR}${sysconfdir}
++ ${INSTALL_DATA} latrine.conf ${DESTDIR}${sysconfdir}/latrine.conf.sample
+
+ clean:
+ ${RM} config.status configure.scan config.status core latrine.dvi *.log *.o *~