From 04e245258ef17ffc0354700d9938a3fee796dd31 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 22 Oct 2020 20:45:15 +0200 Subject: [PATCH 1/2] For FreeBSD ports see #495 --- miniupnpd/Makefile.bsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/Makefile.bsd b/miniupnpd/Makefile.bsd index 02e59e4..0f12e80 100644 --- a/miniupnpd/Makefile.bsd +++ b/miniupnpd/Makefile.bsd @@ -190,7 +190,7 @@ dox: miniupnpd.doxyconf $(DOXYGEN) $> miniupnpd: $(ALLOBJS) - $(CC) $(LDFLAGS) -o $@ $(ALLOBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ALLOBJS) $(LIBS) # BSDmake : # $(CC) $(LDFLAGS) -o $@ $> $(LIBS) From 946f6c19bb29b462a739863d378336514c0a76e1 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 24 Oct 2020 15:17:59 +0200 Subject: [PATCH 2/2] fix Makefile.bsd fixes #495 --- miniupnpd/Makefile.bsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/Makefile.bsd b/miniupnpd/Makefile.bsd index 0f12e80..ffbd2f9 100644 --- a/miniupnpd/Makefile.bsd +++ b/miniupnpd/Makefile.bsd @@ -152,7 +152,7 @@ install: miniupnpd genuuid $(INSTALL) -d $(DESTDIR)$(INSTALLETCDIR) $(INSTALL) -b miniupnpd.conf $(DESTDIR)$(INSTALLETCDIR) $(INSTALL) -d $(DESTDIR)$(INSTALLMANDIR) - $(INSTALL) -m miniupnpd.8 $(DESTDIR)$(INSTALLMANDIR)/man8/miniupnpd.8 + $(INSTALL) -m 644 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