openbsd-ports/net/ircII/patches/patch-Makefile_in
kn ad8e0a6a05 Update to ircII-20190117
From Brad
OK tb
2019-02-24 12:41:47 +00:00

23 lines
844 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.4 2019/02/24 12:41:47 kn Exp $
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -64,7 +64,7 @@ datarootdir = $(DESTDIR)@datarootdir@
libdir = $(DESTDIR)@libdir@
libexecdir = $(DESTDIR)@libexecdir@
# @mandir@ tends to be $datarootdir which already has $DESTDIR.
-mandir = @mandir@/man1
+mandir = $(DESTDIR)@mandir@/man1
# Where the ircII binary will be installed.
# 'make install' will compile and install the program
@@ -82,7 +82,7 @@ LIBS = @LIBS@
# Set this to -g if you want to be able to debug the client, otherwise
# use -O to have the compiler do some optimization instead.
-CFLAGS = @CFLAGS@ @DEBUGFLAGS@ @WARNINGFLAGS@ @ERRORFLAGS@
+CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEBUGFLAGS@ @WARNINGFLAGS@ @ERRORFLAGS@
# Set this to -s if you want the binary to be stripped.
LDFLAGS = @LDFLAGS@