diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-09-30 17:53:58 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-09-30 17:53:58 +0000 |
commit | ab823f00d600e03169a1f40b17086b24f79a7973 (patch) | |
tree | 2b08d0cbb559a533d7d82079dac2de4347a7f36c | |
parent | 0895fef2d5321e6854602198be787da5853c0403 (diff) | |
download | ports-ab823f00d600e03169a1f40b17086b24f79a7973.tar.gz ports-ab823f00d600e03169a1f40b17086b24f79a7973.zip |
Notes
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/pyperl/Makefile | 44 | ||||
-rw-r--r-- | lang/pyperl/distinfo | 2 | ||||
-rw-r--r-- | lang/pyperl/files/patch-dlhack.c | 30 | ||||
-rw-r--r-- | lang/pyperl/files/patch-setup.py | 14 | ||||
-rw-r--r-- | lang/pyperl/files/patch-svrv_object.c | 15 | ||||
-rw-r--r-- | lang/pyperl/files/patch-try_perlapi.pl | 15 | ||||
-rw-r--r-- | lang/pyperl/pkg-descr | 7 | ||||
-rw-r--r-- | lang/pyperl/pkg-plist | 23 |
9 files changed, 0 insertions, 151 deletions
diff --git a/lang/Makefile b/lang/Makefile index 1196768249f2..f9d7defd4749 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -209,7 +209,6 @@ SUBDIR += py-compiler SUBDIR += py-mx-base SUBDIR += py-prolog - SUBDIR += pyperl SUBDIR += python SUBDIR += python-devel SUBDIR += python-doc-html diff --git a/lang/pyperl/Makefile b/lang/pyperl/Makefile deleted file mode 100644 index 89e01534c9e7..000000000000 --- a/lang/pyperl/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: pyperl -# Date created: 1 September 2005 -# Whom: Maxim Sobolev <sobomax@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= pyperl -PORTVERSION= 1.0.1 -CATEGORIES= lang python perl5 -MASTER_SITES= http://downloads.activestate.com/Zope-Perl/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Module to embed Perl code into a Python program - -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PERL_CONFIGURE= yes -CONFIGURE_WRKSRC= ${WRKSRC}/Python-Object -INSTALL_TARGET= pure_install - -MAN3= Python.3 Python::Err.3 Python::Object.3 - -post-extract: - @${RM} -f ${WRKSRC}/MULTI_PERL - -post-configure: - @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} \ - ${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} - -post-build: - @(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) - -post-install: - @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) - -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 -IGNORE= requires PERL 5.6.0 or better -.endif - -.include <bsd.port.post.mk> diff --git a/lang/pyperl/distinfo b/lang/pyperl/distinfo deleted file mode 100644 index 8215422feabb..000000000000 --- a/lang/pyperl/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (pyperl-1.0.1.tar.gz) = 8c5b9df951f91914dbdba69c56a335fa -SIZE (pyperl-1.0.1.tar.gz) = 61314 diff --git a/lang/pyperl/files/patch-dlhack.c b/lang/pyperl/files/patch-dlhack.c deleted file mode 100644 index 84b7fcc33c7e..000000000000 --- a/lang/pyperl/files/patch-dlhack.c +++ /dev/null @@ -1,30 +0,0 @@ - -$FreeBSD$ - ---- dlhack.c -+++ dlhack.c -@@ -1,5 +1,6 @@ - #include <Python.h> - #include <dlfcn.h> -+#include <unistd.h> - - /* This is a fake perl module that will look for the real thing ('perl2.so') - * in sys.path and then load this one with the RTLD_GLOBAL set in order to -@@ -33,6 +34,8 @@ - if (strlen(buf) != len) - continue; /* v contains '\0' */ - strcpy(buf+len, "/perl2.so"); -+ if (access(buf, R_OK) == -1) -+ continue; - - handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL); - if (handle) { -@@ -45,6 +48,7 @@ - } - return; - } -+ break; - } -- PyErr_SetString(PyExc_ImportError, "perl2.so not found"); -+ PyErr_SetString(PyExc_ImportError, dlerror()); - } diff --git a/lang/pyperl/files/patch-setup.py b/lang/pyperl/files/patch-setup.py deleted file mode 100644 index b6dc35ee7b51..000000000000 --- a/lang/pyperl/files/patch-setup.py +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- setup.py -+++ setup.py -@@ -94,7 +94,7 @@ - cc_extra.append("-DDL_HACK") - extra_ext.append(Extension(name = "perl", - sources = ["dlhack.c"], -- libraries = ["dl"], -+ libraries = [], - )) - - diff --git a/lang/pyperl/files/patch-svrv_object.c b/lang/pyperl/files/patch-svrv_object.c deleted file mode 100644 index 392927ca73d3..000000000000 --- a/lang/pyperl/files/patch-svrv_object.c +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- svrv_object.c -+++ svrv_object.c -@@ -18,6 +18,9 @@ - #include "lang_map.h" - #include "try_perlapi.h" - -+#define PERL_CORE -+#include <embed.h> -+ - #ifdef MULTI_PERL - static int - owned_by(PySVRV *self, refcounted_perl *my_perl) diff --git a/lang/pyperl/files/patch-try_perlapi.pl b/lang/pyperl/files/patch-try_perlapi.pl deleted file mode 100644 index 91521088a07c..000000000000 --- a/lang/pyperl/files/patch-try_perlapi.pl +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- try_perlapi.pl -+++ try_perlapi.pl -@@ -24,6 +24,9 @@ - #include "perlmodule.h" - #include "lang_lock.h" - #include "thrd_ctx.h" -+ -+#define PERL_CORE -+#include "embed.h" - EOT - - print C <<EOT if $ENABLE_JMPENV; diff --git a/lang/pyperl/pkg-descr b/lang/pyperl/pkg-descr deleted file mode 100644 index 8b47f72a9dff..000000000000 --- a/lang/pyperl/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This is a Python extension module that makes it possible to embed Perl -interpreter(s) in any Python program. It can be used to invoke -arbitrary Perl code, load any Perl modules and make calls directly -into Perl functions. The Perl code invoked can call back into Python -as it see fit. - -WWW: http://www.zope.org/Wikis/zope-perl/ diff --git a/lang/pyperl/pkg-plist b/lang/pyperl/pkg-plist deleted file mode 100644 index c8ed674f9569..000000000000 --- a/lang/pyperl/pkg-plist +++ /dev/null @@ -1,23 +0,0 @@ -%%SITE_PERL%%/%%PERL_ARCH%%/Python.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Python/Err.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Python/Object.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/Object.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/Object.so -lib/%%PYTHON_VERSION%%/site-packages/dbi.py -lib/%%PYTHON_VERSION%%/site-packages/dbi.pyc -lib/%%PYTHON_VERSION%%/site-packages/dbi.pyo -lib/%%PYTHON_VERSION%%/site-packages/dbi2.py -lib/%%PYTHON_VERSION%%/site-packages/dbi2.pyc -lib/%%PYTHON_VERSION%%/site-packages/dbi2.pyo -lib/%%PYTHON_VERSION%%/site-packages/perl.so -lib/%%PYTHON_VERSION%%/site-packages/perl2.so -lib/%%PYTHON_VERSION%%/site-packages/perlmod.py -lib/%%PYTHON_VERSION%%/site-packages/perlmod.pyc -lib/%%PYTHON_VERSION%%/site-packages/perlmod.pyo -lib/%%PYTHON_VERSION%%/site-packages/perlpickle.py -lib/%%PYTHON_VERSION%%/site-packages/perlpickle.pyc -lib/%%PYTHON_VERSION%%/site-packages/perlpickle.pyo -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Python -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Python |