[Pkg-wmaker-commits] [wmcube] 34/67: debian/patches: (update_makefile.patch) Honor CPPFLAGS and LDFLAGS.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 03:22:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcube.
commit 92215fdd525f4c38035267a1edf78bfd2b4f2a47
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Jan 13 07:20:23 2015 -0600
debian/patches: (update_makefile.patch) Honor CPPFLAGS and LDFLAGS.
---
debian/patches/update_makefile.patch | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/debian/patches/update_makefile.patch b/debian/patches/update_makefile.patch
index 7a334cd..fa8ac1c 100644
--- a/debian/patches/update_makefile.patch
+++ b/debian/patches/update_makefile.patch
@@ -1,6 +1,7 @@
Description: Update Makefile.
In particular,
- Change doc installation directory to avoid FSSTND-dir-in-usr Lintian error.
+ - Honor CPPFLAGS and LDFLAGS build flags.
- Honor DESTDIR variable.
- Create binary installation directory.
- Skip installation of CHANGES to avoid wrong-name-for-upstream-changelog
@@ -9,7 +10,7 @@ Description: Update Makefile.
- Skip installation of INSTALL to avoid
package-contains-upstream-install-documentation Lintian warning.
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
-Last-Update: 2015-01-11
+Last-Update: 2015-01-13
--- a/wmcube/Makefile
+++ b/wmcube/Makefile
@@ -22,6 +23,19 @@ Last-Update: 2015-01-11
OBJDIR = $(PREFIX)/share/wmcube
# Edit OSLIBS as appropriate to include OS specific libraries.
+@@ -22,10 +22,10 @@
+ ../wmgeneral/list.o
+
+ .c.o:
+- $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(INCDIR) -c $< -o $*.o
+
+ wmcube: $(OBJS)
+- $(CC) -o wmcube $^ -lXext $(LIBDIR) $(LIBS)
++ $(CC) $(LDFLAGS) -o wmcube $^ -lXext $(LIBDIR) $(LIBS)
+
+ all:: wmcube
+
@@ -37,14 +37,15 @@
rm -f *~
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcube.git
More information about the Pkg-wmaker-commits
mailing list