1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/whois/files/patch-Makefile
Kurt Jaeger 95bf149eee net/whois: 5.1.4 -> 5.1.5
Upstream:
- Updated the list of new gTLDs.
- Added some disclaimer suppression strings for the new gTLDs' servers.
- Updated one or more translations. (Closes: #756231)

Port:
- Pull source from github, not from the Debian pool
- Fix build error in QAT

PR:		190799
Submitted by:	Marco Steinbach <coco@executive-computing.de>
2014-09-05 21:26:33 +00:00

38 lines
1.3 KiB
Plaintext

--- Makefile.orig 2014-05-21 16:24:13.000000000 +0200
+++ Makefile 2014-06-08 18:14:09.000000000 +0200
@@ -1,6 +1,8 @@
-prefix = /usr
+prefix = ${PREFIX}
CFLAGS ?= -g -O2
+LDFLAGS += -L${LOCALBASE}/lib -lintl
+CFLAGS += -I${LOCALBASE}/include
PERL = perl
INSTALL = install
@@ -98,17 +100,17 @@
install-whois: whois
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man5/
- $(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
- $(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/share/man/man5/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man1/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man5/
+ $(INSTALL) -m 0755 whois $(BASEDIR)$(prefix)/bin/mwhois
+ $(INSTALL) -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/mwhois.1
+ $(INSTALL) -m 0644 whois.conf.5 $(BASEDIR)$(prefix)/man/man5/mwhois.conf.5
install-mkpasswd: mkpasswd
$(INSTALL) -d $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -d $(BASEDIR)$(prefix)/man/man1/
$(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
- $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
+ $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/man/man1/
install-pos:
cd po && $(MAKE) install