Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 22:56:16 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336495 - head/textproc/py-pyx12
Message-ID:  <201312142256.rBEMuGcu096880@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Dec 14 22:56:16 2013
New Revision: 336495
URL: http://svnweb.freebsd.org/changeset/ports/336495

Log:
  textproc/py-pyx12: fix usage of python
  
  Reported by:	exp-run (PR 184591)

Modified:
  head/textproc/py-pyx12/Makefile

Modified: head/textproc/py-pyx12/Makefile
==============================================================================
--- head/textproc/py-pyx12/Makefile	Sat Dec 14 22:53:11 2013	(r336494)
+++ head/textproc/py-pyx12/Makefile	Sat Dec 14 22:56:16 2013	(r336495)
@@ -13,8 +13,7 @@ COMMENT=	Validate and convert HIPAA X12 
 
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
 		${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
-		${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_PYTHON=	yes
 USE_BZIP2=	yes
@@ -27,7 +26,7 @@ SUB_FILES=	pkg-deinstall
 
 NO_STAGE=	yes
 post-install:
-	${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
+	${PYTHON_CMD} ${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
 	cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
 	cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312142256.rBEMuGcu096880>