mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
Changelog is here: http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5.1 Also pet the Makefile: - Change ${LOCALBASE} to ${PREFIX} where applicable - Fix overwrite of recursor.conf by changing to bsd.port.pre/post.mk (and thus fixing ${PREFIX}) PR: ports/178340 Submitted by: Ralf van der Enden <tremere@cainites.net> Approved by: Sten Spans <sten@blinkenlights.nl> (maintainer)
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
--- Makefile.orig 2010-02-10 20:46:15.000000000 +0100
|
|
+++ Makefile 2010-02-11 13:22:25.000000000 +0100
|
|
@@ -38,10 +38,10 @@
|
|
ifeq ($(STATIC),semi)
|
|
STATICFLAGS=-Wl,-Bstatic -lstdc++ $(LUALIBS) -lgcc -Wl,-Bdynamic -static-libgcc -lm -lc
|
|
LINKCC=$(CC)
|
|
- LDFLAGS += -ldl -lm
|
|
+ LDFLAGS += -lm
|
|
else
|
|
ifeq ($(STATIC),full)
|
|
- STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static
|
|
+ STATICFLAGS=-lstdc++ $(LUALIBS) -lm -static
|
|
LINKCC=$(CC)
|
|
else
|
|
LDFLAGS += $(LUALIBS)
|
|
@@ -69,16 +69,14 @@
|
|
fi
|
|
|
|
install: all
|
|
- -mkdir -p $(DESTDIR)/$(SBINDIR)
|
|
mv pdns_recursor $(DESTDIR)/$(SBINDIR)
|
|
strip $(DESTDIR)/$(SBINDIR)/pdns_recursor
|
|
- mkdir -p $(DESTDIR)/$(BINDIR)
|
|
mv rec_control $(DESTDIR)/$(BINDIR)
|
|
strip $(DESTDIR)/$(BINDIR)/rec_control
|
|
-mkdir -p $(DESTDIR)/$(CONFIGDIR)
|
|
$(DESTDIR)/$(SBINDIR)/pdns_recursor --config > $(DESTDIR)/$(CONFIGDIR)/recursor.conf-dist
|
|
- -mkdir -p $(DESTDIR)/usr/share/man/man1
|
|
- cp pdns_recursor.1 rec_control.1 $(DESTDIR)/usr/share/man/man1
|
|
+ cp pdns_recursor.1 pdns_recursor.8
|
|
+ cp rec_control.1 rec_control.8
|
|
$(OS_SPECIFIC_INSTALL)
|
|
|
|
clean: binclean
|