diff --git a/miniupnpd/Makefile.bsd b/miniupnpd/Makefile.bsd index 02e59e4..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 @@ -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)