summaryrefslogtreecommitdiff
path: root/games-board/xscrabble/files/xscrabble-2.10-build.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-board/xscrabble/files/xscrabble-2.10-build.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/xscrabble/files/xscrabble-2.10-build.patch')
-rw-r--r--games-board/xscrabble/files/xscrabble-2.10-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-board/xscrabble/files/xscrabble-2.10-build.patch b/games-board/xscrabble/files/xscrabble-2.10-build.patch
new file mode 100644
index 000000000000..7d5214c7db34
--- /dev/null
+++ b/games-board/xscrabble/files/xscrabble-2.10-build.patch
@@ -0,0 +1,13 @@
+respect compiler, ldflags and cflags
+
+--- build
++++ build
+@@ -36,7 +36,7 @@
+ #define RULES_FILE \"$LIBDIR/en/scrabble_rules\"
+ " > src/config.h
+ xmkmf -a
+- make
++ make CC="${CC}" CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
+ echo "
+ Now, type './build install' to install programs in $BINDIR
+ "