From 4070be524585a400a57f62c89b4025157064b85e Mon Sep 17 00:00:00 2001
From: sunpoet <sunpoet@FreeBSD.org>
Date: Fri, 6 Nov 2015 03:40:35 +0000
Subject: - Use USES=pathfix - While I'm here, pet portlint

Approved by:	portmgr (blanket)
---
 security/yara/Makefile                        |  5 +++--
 security/yara/files/patch-libyara_Makefile.am | 11 -----------
 2 files changed, 3 insertions(+), 13 deletions(-)
 delete mode 100644 security/yara/files/patch-libyara_Makefile.am

(limited to 'security')

diff --git a/security/yara/Makefile b/security/yara/Makefile
index 53b0d38a8077..eb3b947a1c5c 100644
--- a/security/yara/Makefile
+++ b/security/yara/Makefile
@@ -2,8 +2,8 @@
 
 PORTNAME=	yara
 PORTVERSION=	3.4.0
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	wxs@FreeBSD.org
@@ -17,7 +17,8 @@ GH_ACCOUNT=	plusvic
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		alias autoreconf libtool
+USES=		alias autoreconf libtool pathfix
 USE_LDCONFIG=	yes
+PATHFIX_MAKEFILEIN=	Makefile.am
 
 .include <bsd.port.mk>
diff --git a/security/yara/files/patch-libyara_Makefile.am b/security/yara/files/patch-libyara_Makefile.am
deleted file mode 100644
index 6781172a020d..000000000000
--- a/security/yara/files/patch-libyara_Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- libyara/Makefile.am.orig	2015-06-18 13:33:39 UTC
-+++ libyara/Makefile.am
-@@ -107,7 +107,7 @@ libyara_la_SOURCES = \
-   stream.h \
-   utils.h
- 
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- nodist_pkgconfig_DATA = yara.pc
- 
- yara.pc: yara.pc.in
-- 
cgit