Codebase list unrtf / debian/0.21.5-3+deb8u1 patches / 0002-Hand-over-SHAREDIR-via-CPPFLAGS.patch
debian/0.21.5-3+deb8u1

Tree @debian/0.21.5-3+deb8u1 (Download .tar.gz)

0002-Hand-over-SHAREDIR-via-CPPFLAGS.patch @debian/0.21.5-3+deb8u1raw · history · blame

From: Willi Mann <willi@wm1.at>
Date: Sun, 23 Dec 2012 21:21:46 +0100
Subject: Hand over SHAREDIR via CPPFLAGS

---
 src/Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index d6017b3..83b1d34 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,6 +3,8 @@
 
 bin_PROGRAMS = unrtf
 
+AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
+
 unrtf_SOURCES = attr.c attr.h         \
 		convert.c convert.h   \
 		defs.h 		      \