summaryrefslogtreecommitdiff
path: root/package/httping
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-14 14:32:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-14 14:32:46 +0100
commit3dc0311e44bddaeaca33b628eedb0ad2007ec27b (patch)
treed06ff04f501ddb41ea6ec5bda369abf08f7dd455 /package/httping
parenta03e16ce46353740a2b778beda4dda03c0252e07 (diff)
fix some compile issues on NetBSD
Diffstat (limited to 'package/httping')
-rw-r--r--package/httping/Makefile2
-rw-r--r--package/httping/patches/patch-Makefile21
2 files changed, 22 insertions, 1 deletions
diff --git a/package/httping/Makefile b/package/httping/Makefile
index 7f0d6add6..18a97a85b 100644
--- a/package/httping/Makefile
+++ b/package/httping/Makefile
@@ -23,6 +23,6 @@ CONFIG_STYLE:= manual
post-install:
${INSTALL_DIR} ${IDIR_HTTPING}/usr/bin
- ${CP} ${WRKINST}/usr/bin/httping ${IDIR_HTTPING}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/httping ${IDIR_HTTPING}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/httping/patches/patch-Makefile b/package/httping/patches/patch-Makefile
new file mode 100644
index 000000000..9b7f55b7b
--- /dev/null
+++ b/package/httping/patches/patch-Makefile
@@ -0,0 +1,21 @@
+--- httping-1.4.1.orig/Makefile 2010-01-10 21:35:22.000000000 +0100
++++ httping-1.4.1/Makefile 2010-02-14 11:30:47.000000000 +0100
+@@ -17,7 +17,7 @@ include version
+ TARGET=httping
+
+ WFLAGS=-Wall -W
+-OFLAGS=-O2
++OFLAGS=
+ CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+
+ PACKAGE=$(TARGET)-$(VERSION)
+@@ -73,9 +73,6 @@ install: $(TARGET)
+ $(INSTALLMAN) $(MANS) $(DESTDIR)/$(MANDIR)/man1
+ $(INSTALLDIR) $(DESTDIR)/$(DOCDIR)
+ $(INSTALLDOC) $(DOCS) $(DESTDIR)/$(DOCDIR)
+-ifneq (DEBUG,yes)
+- $(STRIP) $(DESTDIR)/$(BINDIR)/$(TARGET)
+-endif
+
+ clean:
+ $(RMDIR) $(OBJS) $(TARGET) *~ core