Mon Mar 2 23:22:01 2015 UTC ()
Use the WRKDIR variable rather than referencing work directly with find(1)

Reviewed by wiz@


(sevan)
diff -r1.10 -r1.11 pkgsrc/net/exabgp/Makefile

cvs diff -r1.10 -r1.11 pkgsrc/net/exabgp/Makefile (expand / switch to unified diff)

--- pkgsrc/net/exabgp/Makefile 2015/02/19 12:23:52 1.10
+++ pkgsrc/net/exabgp/Makefile 2015/03/02 23:22:01 1.11
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.10 2015/02/19 12:23:52 he Exp $ 1# $NetBSD: Makefile,v 1.11 2015/03/02 23:22:01 sevan Exp $
2 2
3VERSION= 3.4.7 3VERSION= 3.4.7
4DISTNAME= ${VERSION} 4DISTNAME= ${VERSION}
5PKGNAME= exabgp-${VERSION} 5PKGNAME= exabgp-${VERSION}
6EGG_NAME= exabgp-${VERSION} 6EGG_NAME= exabgp-${VERSION}
7CATEGORIES= net 7CATEGORIES= net
8MASTER_SITES= https://github.com/Exa-Networks/exabgp/archive/ 8MASTER_SITES= https://github.com/Exa-Networks/exabgp/archive/
9DIST_SUBDIR= exabgp 9DIST_SUBDIR= exabgp
10 10
11MAINTAINER= pettai@NetBSD.org 11MAINTAINER= pettai@NetBSD.org
12HOMEPAGE= https://github.com/Exa-Networks/exabgp/ 12HOMEPAGE= https://github.com/Exa-Networks/exabgp/
13COMMENT= ExaBGP is a userspace BGP daemon written in python 13COMMENT= ExaBGP is a userspace BGP daemon written in python
14LICENSE= modified-bsd 14LICENSE= modified-bsd
@@ -31,19 +31,19 @@ REPLACE_PYTHON+= lib/netlink/test/route. @@ -31,19 +31,19 @@ REPLACE_PYTHON+= lib/netlink/test/route.
31REPLACE_PYTHON+= etc/exabgp/processes/healthcheck.py 31REPLACE_PYTHON+= etc/exabgp/processes/healthcheck.py
32REPLACE_PYTHON+= etc/exabgp/processes/read-write.py 32REPLACE_PYTHON+= etc/exabgp/processes/read-write.py
33REPLACE_PYTHON+= etc/exabgp/processes/tcp-server 33REPLACE_PYTHON+= etc/exabgp/processes/tcp-server
34REPLACE_PYTHON+= etc/exabgp/processes/syslog-1.py 34REPLACE_PYTHON+= etc/exabgp/processes/syslog-1.py
35REPLACE_PYTHON+= etc/exabgp/processes/stderr-1.py 35REPLACE_PYTHON+= etc/exabgp/processes/stderr-1.py
36 36
37PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 3.2.19 37PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 3.2.19
38 38
39USE_LANGUAGES= # none 39USE_LANGUAGES= # none
40 40
41INSTALLATION_DIRS= share/exabgp bin 41INSTALLATION_DIRS= share/exabgp bin
42 42
43pre-install: 43pre-install:
44 find work -name '*.orig' | xargs rm -f 44 find ${WRKDIR} -name "*.orig" | xargs rm -f
45 45
46.include "../../lang/python/distutils.mk" 46.include "../../lang/python/distutils.mk"
47.include "../../lang/python/application.mk" 47.include "../../lang/python/application.mk"
48.include "../../lang/python/pyversion.mk" 48.include "../../lang/python/pyversion.mk"
49.include "../../mk/bsd.pkg.mk" 49.include "../../mk/bsd.pkg.mk"