aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-09-24 21:14:49 +0800
committercy <cy@FreeBSD.org>2016-09-24 21:14:49 +0800
commit6d3c42dbc3dabe144c0aea434aab0bbccccda1d5 (patch)
tree873384249cdd4cc711e294f7e30f2541ea5f34d1 /net
parent9d0e2772ca39270d0b842cb0ec662e54a8792885 (diff)
downloadfreebsd-ports-gnome-6d3c42dbc3dabe144c0aea434aab0bbccccda1d5.tar.gz
freebsd-ports-gnome-6d3c42dbc3dabe144c0aea434aab0bbccccda1d5.tar.zst
freebsd-ports-gnome-6d3c42dbc3dabe144c0aea434aab0bbccccda1d5.zip
Adjust for a deficient ./configure script which fails to detect
a working fork(2) and vfork(2). Tested by: mat
Diffstat (limited to 'net')
-rw-r--r--net/vtun/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index 3451d6206f4c..a8ca58322d4f 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vtun
PORTVERSION= 3.0.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF
@@ -14,7 +14,8 @@ LICENSE= GPLv2
LIB_DEPENDS= liblzo2.so:archivers/lzo2
-CFLAGS+= -ansi -Wno-pointer-sign -I${LOCALBASE}/include
+CFLAGS+= -ansi -Wno-pointer-sign -I${LOCALBASE}/include \
+ -DHAVE_WORKING_VFORK -DHAVE_WORKING_FORK
USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \