aboutsummaryrefslogtreecommitdiffstats
path: root/net/torsocks
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-28 21:39:56 +0800
commit80986f3bba5207fadfa3c154807c2bd35fc4fe43 (patch)
tree30df43bd9eff2c4d3d713edce11d9d1da280e753 /net/torsocks
parent107a7c671373ca4fc49013600186b99151a35dd1 (diff)
downloadfreebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.gz
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.tar.zst
freebsd-ports-gnome-80986f3bba5207fadfa3c154807c2bd35fc4fe43.zip
- Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS Approved by: portmgr blanket
Diffstat (limited to 'net/torsocks')
-rw-r--r--net/torsocks/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/torsocks/Makefile b/net/torsocks/Makefile
index 0a3e1aedcbb1..c58d3de7205c 100644
--- a/net/torsocks/Makefile
+++ b/net/torsocks/Makefile
@@ -23,14 +23,9 @@ INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
-OPTIONS_DEFINE= DOCS
-OPTIONS_DEFAULT= DOCS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= ChangeLog DEBUG SOCKS5 socks-extensions.txt
-.endif
+
+OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's,(defined(__linux__) || defined(__darwin__) || (defined(__FreeBSD_kernel__) && defined(__i386__))),defined(__FreeBSD__),' ${WRKSRC}/src/lib/syscall.c