aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-08-06 10:39:04 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-08-06 10:39:04 +0000
commitca9ea44ad824e9b72830371cd3ee93d8ba7b91c5 (patch)
tree6c67e0afeae0bb4128b7dcf35b3ff19a9c42ca38 /security
parentc56bed95de86317f0c4c12a3cf9ea62954847082 (diff)
downloadports-ca9ea44ad824e9b72830371cd3ee93d8ba7b91c5.tar.gz
ports-ca9ea44ad824e9b72830371cd3ee93d8ba7b91c5.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/py-m2crypto/Makefile2
-rw-r--r--security/py-m2crypto/files/patch-SWIG::Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index c6e982efce9a..9bdc072f5f1c 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -28,7 +28,7 @@ USE_REINPLACE= yes
PINSTALL_PLIST= ${WRKDIR}/pinstall-plist
post-patch:
- ${REINPLACE_CMD} "s/PYTHON_VERSION/${PYTHON_VERSION}/" ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|" ${WRKSRC}/Makefile
post-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/../M2Crypto
diff --git a/security/py-m2crypto/files/patch-SWIG::Makefile b/security/py-m2crypto/files/patch-SWIG::Makefile
index e6d34ff9d941..a51b1c11d3ab 100644
--- a/security/py-m2crypto/files/patch-SWIG::Makefile
+++ b/security/py-m2crypto/files/patch-SWIG::Makefile
@@ -6,7 +6,7 @@
LIBS = -L/usr/local/lib -lssl -lcrypto
-PYVER = 2.2
-PYINCLUDE = -DHAVE_CONFIG_H -I/usr/local/include/python$(PYVER) \
-+PYINCLUDE = -DHAVE_CONFIG_H -I/usr/local/include/PYTHON_VERSION \
++PYINCLUDE = -DHAVE_CONFIG_H -I%%PYTHON_INCLUDEDIR%% \
-I/usr/local/lib/python$(PYVER)/config
PYLIB = /usr/local/lib/python$(PYVER)/config