Author: plessy
Date: 2013-02-09 03:35:32 +0000 (Sat, 09 Feb 2013)
New Revision: 12950
Removed:
trunk/packages/boxshade/trunk/debian/patches/10_makefile.unx.patch
Modified:
trunk/packages/boxshade/trunk/debian/patches/series
trunk/packages/boxshade/trunk/debian/rules
Log:
Pass dpkg build flags through debian/rules.
Deleted: trunk/packages/boxshade/trunk/debian/patches/10_makefile.unx.patch
===================================================================
--- trunk/packages/boxshade/trunk/debian/patches/10_makefile.unx.patch
2013-02-09 02:40:04 UTC (rev 12949)
+++ trunk/packages/boxshade/trunk/debian/patches/10_makefile.unx.patch
2013-02-09 03:35:32 UTC (rev 12950)
@@ -1,20 +0,0 @@
---- boxshade-3.3.1.orig/makefile.unx
-+++ boxshade-3.3.1/makefile.unx
-@@ -1,7 +1,7 @@
- # BOXSHADE makefile for unix (tested under Linux && Solaris)
- CC = gcc
- CFLAGS = -O
--LDFLAGS= -s
-+# dh_strip takes care of this... LDFLAGS= -s
- LIBS = -lm
- OBJ =.o
- EXE =
-@@ -40,3 +40,8 @@
- dv_ps$(OBJ): dv_ps.c bx_types.h bx_read.h dv_all.h version.h
- dv_regis$(OBJ): dv_regis.c bx_types.h bx_read.h dv_all.h
- dv_rtf$(OBJ): dv_rtf.c bx_types.h bx_read.h dv_all.h
-+
-+.PHONY: clean
-+
-+clean:
-+ rm -f $(OBJS) boxshade$(EXE)
Modified: trunk/packages/boxshade/trunk/debian/patches/series
===================================================================
--- trunk/packages/boxshade/trunk/debian/patches/series 2013-02-09 02:40:04 UTC
(rev 12949)
+++ trunk/packages/boxshade/trunk/debian/patches/series 2013-02-09 03:35:32 UTC
(rev 12950)
@@ -1,3 +1,2 @@
-10_makefile.unx.patch
kickOutGets.patch
remove-newlines.patch
Modified: trunk/packages/boxshade/trunk/debian/rules
===================================================================
--- trunk/packages/boxshade/trunk/debian/rules 2013-02-09 02:40:04 UTC (rev
12949)
+++ trunk/packages/boxshade/trunk/debian/rules 2013-02-09 03:35:32 UTC (rev
12950)
@@ -7,7 +7,7 @@
dh $@
override_dh_auto_build:
- $(MAKE) -f makefile.unx
+ $(MAKE) -f makefile.unx CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(shell
dpkg-buildflags --get LDFLAGS)"
override_dh_clean:
rm -f boxshade *.o
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit