mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 03:49:14 -04:00
- Minor stylistic tweaks PR: ports/126017 Submitted by: Sten Spans <sten@blinkenlights.nl> (maintainer) Approved by: beech (mentor, implicit)
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
--- Makefile.orig 2008-03-30 22:41:25.000000000 +0200
|
|
+++ Makefile 2008-04-02 00:13:01.000000000 +0200
|
|
@@ -2,7 +2,6 @@
|
|
SBINDIR=/usr/sbin/
|
|
BINDIR=/usr/bin/
|
|
CONFIGDIR="/etc/powerdns/"
|
|
-OPTFLAGS?=-O3
|
|
CXXFLAGS:= $(CXXFLAGS) -Wall -DBOOST_SP_DISABLE_THREADS $(OPTFLAGS) $(PROFILEFLAGS)
|
|
CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS)
|
|
LINKCC=$(CXX)
|
|
@@ -41,9 +40,9 @@
|
|
ifeq ($(STATIC),semi)
|
|
STATICFLAGS=-Wl,-Bstatic -lstdc++ $(LUALIBS) -lgcc -Wl,-Bdynamic -static-libgcc -lm -lc
|
|
LINKCC=$(CC)
|
|
- LDFLAGS += malloc.o -ldl -lm
|
|
+ LDFLAGS += malloc.o -lm
|
|
else ifeq ($(STATIC),full)
|
|
- STATICFLAGS=-lstdc++ $(LUALIBS) -ldl -lm -static
|
|
+ STATICFLAGS=-lstdc++ $(LUALIBS) -lm -static
|
|
LINKCC=$(CC)
|
|
else
|
|
LDFLAGS += malloc.o $(LUALIBS)
|
|
@@ -54,16 +53,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
|
|
+ mv pdns_recursor.1 pdns_recursor.8
|
|
+ mv rec_control.1 rec_control.8
|
|
$(OS_SPECIFIC_INSTALL)
|
|
|
|
clean:
|