403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/dns/sheerdns/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/dns/sheerdns/files/patch-Makefile
--- Makefile.orig	2016-07-27 04:50:31 UTC
+++ Makefile
@@ -1,5 +1,6 @@
 
-CFLAGS=-Wall -g -O0 -ansi -pedantic
+CC?=	gcc
+CFLAGS+=-Wall -ansi -pedantic
 
 SRCS=$(wildcard *.c)
 
@@ -8,13 +9,13 @@ all: sheerdns sheerdnshash sheerdns.ps
 OBJECTS=$(SRCS:.c=.o)
 
 sheerdns: $(OBJECTS)
-	gcc -o sheerdns $(OBJECTS)
+	$(CC) -o sheerdns $(OBJECTS)
 
 sheerdnshash: hash.c
-	gcc $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall
+	$(CC) $(CFLAGS) -o sheerdnshash hash.c -DSTANDALONE -Wall
 
 .c.o: $(SRCS)
-	gcc $(CFLAGS) -c $<
+	$(CC) $(CFLAGS) -c $<
 
 clean:
 	rm -f sheerdns sheerdnshash *.o
@@ -26,6 +27,5 @@ sheerdns.ps:
 	groff -t sheerdns.8 > sheerdns.ps
 
 install: all
-	install sheerdnshash sheerdns /usr/sbin/
-	install sheerdns.8 /usr/share/man/man8/
-	install sheerdns.8 /usr/man/man8/
+	install sheerdnshash sheerdns $(DESTDIR)$(PREFIX)/sbin
+	install sheerdns.8 $(DESTDIR)$(MANPREFIX)/man/man8

Youez - 2016 - github.com/yon3zu
LinuXploit