openbsd-ports/net/znc/patches/patch-man_Makefile_in
kili 31c9530add Update to znc-0.202.
From Brad (maintainer).
2011-11-06 20:27:14 +00:00

22 lines
647 B
Plaintext

$OpenBSD: patch-man_Makefile_in,v 1.5 2011/11/06 20:27:14 kili Exp $
--- man/Makefile.in.orig Wed Sep 21 16:20:19 2011
+++ man/Makefile.in Mon Oct 24 00:19:53 2011
@@ -11,7 +11,7 @@ mandir := @mandir@
INSTALL := @INSTALL@
INSTALL_DATA := @INSTALL_DATA@
-MAN1 := znc.1.gz znc-buildmod.1.gz znc-config.1.gz
+MAN1 := znc.1 znc-buildmod.1 znc-config.1
ifneq "$(V)" ""
VERBOSE=1
@@ -35,7 +35,7 @@ clean:
install: $(MAN1)
mkdir -p $(DESTDIR)$(mandir)/man1
- $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1
+ cd $(VPATH) && $(INSTALL_DATA) $(MAN1) $(DESTDIR)$(mandir)/man1
uninstall:
for file in $(MAN1) ; do \