pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pysvn
Module Name: pkgsrc
Committed By: riastradh
Date: Fri Jan 24 08:59:39 UTC 2025
Modified Files:
pkgsrc/devel/py-pysvn: Makefile
Log Message:
devel/py-pysvn: Fix build with non-default PREFIX.
Should resolve:
Info: Found PyCXX Source in /tmp/pkgbuild/2024Q4/devel/py-pysvn/work/pysvn-1.9.22/Import/pycxx-7.1.9/Src
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/local/include/subversion-1/svn_client.h
Info: Checking for SVN include in /usr/pkg/include/subversion-1/svn_client.h
Error: Cannot find SVN include svn_client.h - use --svn-inc-dir
*** Error code 1
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/py-pysvn/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-pysvn/Makefile
diff -u pkgsrc/devel/py-pysvn/Makefile:1.66 pkgsrc/devel/py-pysvn/Makefile:1.67
--- pkgsrc/devel/py-pysvn/Makefile:1.66 Thu Nov 14 22:19:35 2024
+++ pkgsrc/devel/py-pysvn/Makefile Fri Jan 24 08:59:39 2025
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.66 2024/11/14 22:19:35 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2025/01/24 08:59:39 riastradh Exp $
VERS= 1.9.22
DISTNAME= pysvn-${VERS}
PKGNAME= ${PYPKGPREFIX}-pysvn-${VERS}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pysvn/}
@@ -24,8 +24,19 @@ SUBST_FILES.path= setup_configure.py
SUBST_VARS.path+= PREFIX
PYSETUPCONFIGARGS= --verbose --pycxx-dir="../Import/pycxx-7.1.9"
+PYSETUPCONFIGARGS+= --apr-inc-dir=${BUILDLINK_DIR}/include/apr-1
+PYSETUPCONFIGARGS+= --apr-lib-dir=${BUILDLINK_DIR}/lib
+PYSETUPCONFIGARGS+= --apu-inc-dir=${BUILDLINK_DIR}/include/apr-1
+PYSETUPCONFIGARGS+= --svn-inc-dir=${BUILDLINK_DIR}/include/subversion-1
+PYSETUPCONFIGARGS+= --svn-lib-dir=${BUILDLINK_DIR}/lib
PYLIBVER= ${PYVERSSUFFIX:S/./_/g}
+# Hack to convince pysvn build that we have an svnadmin executable,
+# which it proceeds to not use for anything.
+PYSETUPCONFIGARGS+= --svn-bin-dir=${TOOLS_CMD.svnadmin:H}
+TOOLS_CREATE+= svnadmin
+TOOLS_SCRIPT.svnadmin= false
+
INSTALLATION_DIRS+= ${PYSITELIB}/pysvn
PRINT_PLIST_AWK+= { gsub(/${PYLIBVER}\.so/, "$${PYLIBVER}.so"); }
@@ -45,6 +56,8 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/pysvn/_pysvn_${PYLIBVER}.so \
${DESTDIR}${PREFIX}/${PYSITELIB}/pysvn/_pysvn_${PYLIBVER}.so
+.include "../../devel/apr/buildlink3.mk"
+.include "../../devel/apr-util/buildlink3.mk"
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../www/neon/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index