mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Allow building as a regular user
This commit is contained in:
parent
4a16e1bb7f
commit
b43bde35a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371405
@ -1,16 +1,25 @@
|
||||
--- src/httpd/Makefile.orig Sat Sep 16 08:17:17 2006
|
||||
+++ src/httpd/Makefile Tue Dec 5 15:10:18 2006
|
||||
@@ -18,11 +18,11 @@
|
||||
--- src/httpd/Makefile.orig 2006-09-16 12:17:17 UTC
|
||||
+++ src/httpd/Makefile
|
||||
@@ -18,12 +18,10 @@
|
||||
$(CC) $(LDFLAGS) $(OBJS) $(COMMON) built.o -o $@
|
||||
|
||||
convert-ranges: $(COMMON) Makefile ../Rules.make convert-ranges.c
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@
|
||||
- chmod +s $@
|
||||
+ $(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@
|
||||
chmod +s $@
|
||||
|
||||
convert-geoip: $(COMMON) Makefile ../Rules.make convert-geoip.c
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@
|
||||
- chmod +s $@
|
||||
+ $(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@
|
||||
chmod +s $@
|
||||
|
||||
$(COMMON):
|
||||
cd ../common &&$(MAKE)
|
||||
@@ -31,7 +29,6 @@
|
||||
install: 0W-httpd
|
||||
mv ../../bin/0W-httpd ../../bin/0W-httpd~
|
||||
cp 0W-httpd ../../bin/0W-httpd
|
||||
- chmod +s ../../bin/0W-httpd
|
||||
|
||||
clean:
|
||||
rm -f $(BIN) *.o *~
|
||||
|
@ -6,8 +6,6 @@ etc/0W-httpd/countries.ips
|
||||
etc/0W-httpd/countries.rus
|
||||
@sample etc/0W-httpd/httpd.conf.sample
|
||||
@(%%WWWOWN%%,%%WWWGRP%%,6755) sbin/0W-httpd
|
||||
@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/pids
|
||||
@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/data
|
||||
@dirrmtry(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/logs
|
||||
@dirrmtry etc/0W-httpd
|
||||
@dirrmtry 0W-httpd
|
||||
@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/pids
|
||||
@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/data
|
||||
@dir(%%WWWOWN%%,%%WWWGRP%%,) 0W-httpd/logs
|
||||
|
Loading…
Reference in New Issue
Block a user