diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-04 12:47:47 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-09-04 12:47:47 +0000 |
commit | 9174a90a077724e9f8df2352efc764a91c94218d (patch) | |
tree | 7dc04a1e22f02971a90727039c562283f7fbeaf7 /databases/p5-postgresql-plperl | |
parent | No longer requires 5.6.1 (diff) |
[1] Use new depends scheme for postgresql slave ports:
${MAKE} -V ... instead of .include <...>
[2] Fix for perl 5.6+
Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) [1],
mat [2]
PR: 56345, 56404
Notes
Notes:
svn path=/head/; revision=88524
Diffstat (limited to 'databases/p5-postgresql-plperl')
-rw-r--r-- | databases/p5-postgresql-plperl/Makefile | 19 | ||||
-rw-r--r-- | databases/p5-postgresql-plperl/files/patch-src-makefiles-Makefile.freebsd | 8 |
2 files changed, 21 insertions, 6 deletions
diff --git a/databases/p5-postgresql-plperl/Makefile b/databases/p5-postgresql-plperl/Makefile index de7fb1073cc5..2bed2b63cdb6 100644 --- a/databases/p5-postgresql-plperl/Makefile +++ b/databases/p5-postgresql-plperl/Makefile @@ -4,22 +4,29 @@ # # $FreeBSD$ # +POSTGRESQL_PORT?= databases/postgresql7 -PORTNAME= postgresql-plperl +PORTNAME= postgresql +PORTVERSION!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION +PORTREVISION?= 1 CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PGSQL} +MASTER_SITE_SUBDIR!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR PKGNAMEPREFIX= p5- -PORTREVISION= 0 +PKGNAMESUFFIX= -plperl +DISTFILES!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V DISTFILES +DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= A module for using Perl5 to write SQL functions -POSTGRESQL_PORT?= databases/postgresql7 -POSTGRESQL_SUBPORT=YES -.include "../../${POSTGRESQL_PORT}/Makefile" - RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} +MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo + +USE_GMAKE= yes USE_PERL5= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-perl MAKE_ARGS+= -C src/pl/plperl diff --git a/databases/p5-postgresql-plperl/files/patch-src-makefiles-Makefile.freebsd b/databases/p5-postgresql-plperl/files/patch-src-makefiles-Makefile.freebsd new file mode 100644 index 000000000000..9760f2ca7fa0 --- /dev/null +++ b/databases/p5-postgresql-plperl/files/patch-src-makefiles-Makefile.freebsd @@ -0,0 +1,8 @@ +--- src/makefiles/Makefile.freebsd.orig Wed Aug 29 21:14:40 2001 ++++ src/makefiles/Makefile.freebsd Mon Sep 1 10:16:26 2003 +@@ -23,3 +23,5 @@ + endif + + sqlmansect = 7 ++ ++allow_nonpic_in_shlib = yes |