[med-svn] [Git][med-team/patman][master] 2 commits: Do not hardcode tools in upstream Makefile

Andreas Tille gitlab at salsa.debian.org
Tue May 7 08:01:30 BST 2019



Andreas Tille pushed to branch master at Debian Med / patman


Commits:
e35b401b by Andreas Tille at 2019-05-07T06:55:51Z
Do not hardcode tools in upstream Makefile

- - - - -
207f319d by Andreas Tille at 2019-05-07T06:56:56Z
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/cross.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+patman (1.2.2+dfsg-6) unstable; urgency=medium
+
+  [ Helmut Grohne ]
+  * Do not hardcode tools in upstream Makefile
+    Closes: #928447
+
+ -- Andreas Tille <tille at debian.org>  Tue, 07 May 2019 08:56:07 +0200
+
 patman (1.2.2+dfsg-5) unstable; urgency=medium
 
   * Secure URI in Homepage


=====================================
debian/patches/cross.patch
=====================================
@@ -0,0 +1,38 @@
+From: Helmut Grohne <helmut at subdivi.de>
+Date: Sat, 4 May 2019 22:19:19 +0200
+Bug-Debian: https://bugs.debian.org/928447
+Description: Do not hardcode tools in upstream Makefile
+
+--- a/Makefile
++++ b/Makefile
+@@ -9,6 +9,7 @@
+ prefix := ${HOME}
+ version := 1.2
+ 
++INSTALL ?= install
+ TARGETS := patman
+ OBJS := prefix_tree.o fasta.o main.o
+ CXXFLAGS += -Wall
+@@ -19,16 +20,16 @@ LDLIBS += -lpopt
+ all: $(TARGETS)
+ 
+ patman:	$(OBJS)
+-	g++ $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
++	$(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+ 
+ %.o:	%.cpp
+-	g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
++	$(CXX) -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
+ 
+ install: $(TARGETS)
+-	install -d ${prefix}/bin
+-	install -d ${prefix}/share/man/man1
+-	install -s -m755 $^ ${prefix}/bin
+-	install -m644 patman.1 ${prefix}/share/man/man1
++	$(INSTALL) -d ${prefix}/bin
++	$(INSTALL) -d ${prefix}/share/man/man1
++	$(INSTALL) -s -m755 $^ ${prefix}/bin
++	$(INSTALL) -m644 patman.1 ${prefix}/share/man/man1
+ 	
+ fasta.o: fasta.h 
+ prefix_tree.o: prefix_tree.h global.h


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 spelling.patch
 makefile.patch
+cross.patch



View it on GitLab: https://salsa.debian.org/med-team/patman/compare/d1ca14323765ea275d83530ac04e3eca3a41bbbc...207f319da1d94698d9518976833f9661b2b9063b

-- 
View it on GitLab: https://salsa.debian.org/med-team/patman/compare/d1ca14323765ea275d83530ac04e3eca3a41bbbc...207f319da1d94698d9518976833f9661b2b9063b
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190507/cc782dfe/attachment-0001.html>


More information about the debian-med-commit mailing list