]> git.pld-linux.org Git - packages/httping.git/commitdiff
- pass proper CFLAGS via %rpmcflags
authortwittner <twittner@pld-linux.org>
Mon, 24 Jan 2005 22:14:48 +0000 (22:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    httping-Makefile.patch -> 1.1
    httping.spec -> 1.5

httping-Makefile.patch [new file with mode: 0644]
httping.spec

diff --git a/httping-Makefile.patch b/httping-Makefile.patch
new file mode 100644 (file)
index 0000000..fee91d0
--- /dev/null
@@ -0,0 +1,12 @@
+--- httping-0.0.96/Makefile~   2005-01-24 22:55:19.872476424 +0100
++++ httping-0.0.96/Makefile    2005-01-24 22:56:16.282900736 +0100
+@@ -16,7 +16,8 @@
+ DEBUG=#-g
+ LDFLAGS=-lssl $(DEBUG)
+-CFLAGS=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
++CFLAGS ?= -O2
++override CFLAGS += -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
+ OBJS=http.o io.o str.o error.o utils.o main.o tcp.o mssl.o
index e88f7610a5ff9127f91ba121b72160e04c8e0e86..2afa48038f8faf87ecfcbfeefe70a8a76d361a88 100644 (file)
@@ -7,7 +7,7 @@ License:        GPL
 Group:         Networking/Utilities
 Source0:       http://www.vanheusden.com/httping/%{name}-%{version}.tgz
 # Source0-md5: 04ce13275795676f6bb533154574949e
-Patch0:                %{name}-makefile.patch
+Patch0:                %{name}-Makefile.patch
 URL:           http://www.vanheusden.com/httping/
 BuildRequires: openssl-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,12 +27,11 @@ statystycznych.
 
 %prep
 %setup -q
-%patch -p0
+%patch0 -p1
 
 %build
 %{__make} \
-       CC="%{__cc}" \
-       DEBUG="%{rpmcflags}"
+       CC="%{__cc}" CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.058598 seconds and 4 git commands to generate.