aboutsummaryrefslogtreecommitdiff
path: root/security/py-yara
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2013-07-17 16:54:52 +0000
committerWesley Shields <wxs@FreeBSD.org>2013-07-17 16:54:52 +0000
commit88f91d3078fc597fb9b656eac3e103f4c1205b9e (patch)
tree0c3b8e67e8d7f891cb0b1e8028d29ec063b543d7 /security/py-yara
parentb61debe0fc9af42062c8c08de4df2d98666b550a (diff)
downloadports-88f91d3078fc597fb9b656eac3e103f4c1205b9e.tar.gz
ports-88f91d3078fc597fb9b656eac3e103f4c1205b9e.zip
Chase security/yara change back to using pcre.
Notes
Notes: svn path=/head/; revision=323180
Diffstat (limited to 'security/py-yara')
-rw-r--r--security/py-yara/Makefile1
-rw-r--r--security/py-yara/files/patch-setup.py13
2 files changed, 5 insertions, 9 deletions
diff --git a/security/py-yara/Makefile b/security/py-yara/Makefile
index 89c603089308..860968404b79 100644
--- a/security/py-yara/Makefile
+++ b/security/py-yara/Makefile
@@ -2,6 +2,7 @@
PORTNAME= yara
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-yara/files/patch-setup.py b/security/py-yara/files/patch-setup.py
index 551d7dabe562..6c0d0921bf62 100644
--- a/security/py-yara/files/patch-setup.py
+++ b/security/py-yara/files/patch-setup.py
@@ -1,17 +1,12 @@
---- ./setup.py.orig 2011-03-08 15:18:51.000000000 -0500
-+++ ./setup.py 2011-05-22 21:27:25.075485034 -0400
-@@ -10,9 +10,10 @@
- ext_modules = [ Extension(
+--- ./setup.py.orig 2013-07-17 12:52:04.000000000 -0400
++++ ./setup.py 2013-07-17 12:51:52.000000000 -0400
+@@ -10,7 +10,8 @@
name='yara',
sources=['yara-python.c'],
-- libraries=['yara','pcre'],
+ libraries=['yara','pcre'],
- include_dirs=['/usr/local/include']
-+ libraries=['yara','re2'],
+ include_dirs=['%%LOCALBASE%%/include'],
+ library_dirs=['%%LOCALBASE%%/lib']
)])
--
-\ No newline at end of file
-+