mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
59a89375f0
Reported by: Andrjez Tobola Sponsored by: iXsystems Inc.
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
--- Makefile.orig 2018-05-08 01:27:03.541852000 +0800
|
|
+++ Makefile 2018-05-08 01:28:27.611102000 +0800
|
|
@@ -162,8 +162,7 @@
|
|
|
|
INSTALLBINDIR = $(PREFIX)/sbin
|
|
INSTALLETCDIR = $(PREFIX)/etc
|
|
-# INSTALLMANDIR = $(PREFIX)/man
|
|
-INSTALLMANDIR = /usr/share/man
|
|
+INSTALLMANDIR = $(MANPREFIX)/man
|
|
|
|
all: $(EXECUTABLES)
|
|
|
|
@@ -181,10 +180,10 @@
|
|
$(INSTALL) -d $(DESTDIR)$(INSTALLBINDIR)
|
|
$(INSTALL) -m 755 miniupnpd $(DESTDIR)$(INSTALLBINDIR)
|
|
$(INSTALL) -d $(DESTDIR)$(INSTALLETCDIR)
|
|
- $(INSTALL) -b miniupnpd.conf $(DESTDIR)$(INSTALLETCDIR)
|
|
+ $(INSTALL) -b miniupnpd.conf $(DESTDIR)$(INSTALLETCDIR)/miniupnpd.conf.sample
|
|
# TODO : install man page correctly
|
|
-# $(INSTALL) -d $(INSTALLMANDIR)
|
|
-# $(INSTALL) miniupnpd.8 $(INSTALLMANDIR)/cat8/miniupnpd.0
|
|
+ $(INSTALL) -d $(DESTDIR)$(INSTALLMANDIR)/man8
|
|
+ $(INSTALL) miniupnpd.8 $(DESTDIR)$(INSTALLMANDIR)/man8/miniupnpd.8
|
|
|
|
# genuuid is using the uuid cli tool available under OpenBSD 4.0 in
|
|
# the uuid-1.5.0 package
|
|
@@ -225,7 +224,7 @@
|
|
testssdppktgen.c
|
|
|
|
miniupnpd: config.h $(ALLOBJS)
|
|
- $(CC) $(LDFLAGS) -o $@ $(ALLOBJS) $(LIBS)
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ALLOBJS) $(LIBS)
|
|
|
|
# BSDmake :
|
|
# $(CC) $(LDFLAGS) -o $@ $> $(LIBS)
|