net/dhcpcd: Fix build when TOP environment viriable is set
PR: 253270 Reported by: Volodymyr Kostyrko
This commit is contained in:
parent
c04c764498
commit
9e078ab7b7
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= dhcpcd
|
||||
PORTVERSION= 9.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://roy.marples.name/downloads/dhcpcd/ \
|
||||
https://cflags.cc/roy/dhcpcd/
|
||||
|
|
8
net/dhcpcd/files/patch-hooks_Makefile
Normal file
8
net/dhcpcd/files/patch-hooks_Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- hooks/Makefile.orig 2020-12-28 12:59:20 UTC
|
||||
+++ hooks/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-TOP?= ../
|
||||
+TOP= ../
|
||||
include ${TOP}/iconfig.mk
|
||||
|
||||
PROG= dhcpcd-run-hooks
|
11
net/dhcpcd/files/patch-src_Makefile
Normal file
11
net/dhcpcd/files/patch-src_Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/Makefile.orig 2021-09-10 17:26:01 UTC
|
||||
+++ src/Makefile
|
||||
@@ -8,7 +8,7 @@ SRCS+= dhcp-common.c script.c
|
||||
CFLAGS?= -O2
|
||||
SUBDIRS+= ${MKDIRS}
|
||||
|
||||
-TOP?= ..
|
||||
+TOP= ..
|
||||
include ${TOP}/iconfig.mk
|
||||
|
||||
CSTD?= c99
|
8
net/dhcpcd/files/patch-src_dev_Makefile
Normal file
8
net/dhcpcd/files/patch-src_dev_Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- src/dev/Makefile.orig 2020-12-28 12:59:20 UTC
|
||||
+++ src/dev/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-TOP?= ../../
|
||||
+TOP= ../../
|
||||
include ${TOP}/Makefile.inc
|
||||
include ${TOP}/config.mk
|
||||
|
8
net/dhcpcd/files/patch-tests_crypt_Makefile
Normal file
8
net/dhcpcd/files/patch-tests_crypt_Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- tests/crypt/Makefile.orig 2020-12-28 12:59:20 UTC
|
||||
+++ tests/crypt/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-TOP?= ../..
|
||||
+TOP= ../..
|
||||
include ${TOP}/iconfig.mk
|
||||
|
||||
PROG= run-test
|
8
net/dhcpcd/files/patch-tests_eloop-bench_Makefile
Normal file
8
net/dhcpcd/files/patch-tests_eloop-bench_Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- tests/eloop-bench/Makefile.orig 2020-12-28 12:59:20 UTC
|
||||
+++ tests/eloop-bench/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-TOP?= ../..
|
||||
+TOP= ../..
|
||||
include ${TOP}/iconfig.mk
|
||||
|
||||
PROG= eloop-bench
|
Loading…
Reference in New Issue
Block a user