[enhancement] proposal - make all ports independent of which version of Perl is installed or the major one
Bjarne D Mathiesen
macintosh at mathiesen.info
Thu May 24 08:53:29 PDT 2012
Bradley Giesbrecht wrote:
>
> Thank you Bjarne.
>
> Bjarne, if you were to follow this simple setup you could produce the preferred diff files (svn diff perl > patch-perl-deps-to-perl-5.14.diff) that will allow the widest audience to view, critique and act on your work.
My script already produces diff files ?!?
I've attached some as examples
Do you want the diif files to look different ???
>
> https://trac.macports.org/wiki/howto/SyncingWithSVN
>
> Regards,
> Bradley Giesbrecht (pixilla)
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
-------------- next part --------------
--- /macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/PsyncX/Portfile 2012-04-13 07:30:29.000000000 +0200
+++ Portfile 2012-05-24 17:38:20.000000000 +0200
@@ -2,6 +2,7 @@
# $Id: Portfile 91907 2012-04-13 05:25:43Z ryandesign at macports.org $
PortSystem 1.0
+PortGroup perl5 1.0
PortGroup xcode 1.0
name PsyncX
@@ -23,7 +24,7 @@
svn.revision 29
worksrcdir trunk
-depends_lib port:p5.12-macosx-file
+depends_lib port:p${perl5.major}-macosx-file
# p5.12-macosx-file is 32-bit only
supported_archs i386 ppc
-------------- next part --------------
--- /macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/argus-monitor/Portfile 2012-04-07 10:00:32.000000000 +0200
+++ Portfile 2012-05-24 17:49:25.000000000 +0200
@@ -1,5 +1,6 @@
# $Id: Portfile 91655 2012-04-07 07:46:17Z jmr at macports.org $
PortSystem 1.0
+PortGroup perl5 1.0
name argus-monitor
version 3.5
@@ -15,23 +16,23 @@
distfiles argus-${version}.tgz
worksrcdir argus-${version}
-depends_lib port:perl5.12 \
+depends_lib port:perl${perl5.major} \
port:postfix \
port:openssl \
port:freetype \
port:gd2 \
port:fping \
port:db44 \
- port:p5.12-dbi \
- port:p5.12-berkeleydb \
- port:p5.12-socket6 \
- port:p5.12-gd \
- port:p5.12-time-hires \
- port:p5.12-net-ssleay \
- port:p5.12-digest-hmac \
- port:p5.12-digest-md5 \
- port:p5.12-digest-sha1 \
- port:p5.12-crypt-des
+ port:p${perl5.major}-dbi \
+ port:p${perl5.major}-berkeleydb \
+ port:p${perl5.major}-socket6 \
+ port:p${perl5.major}-gd \
+ port:p${perl5.major}-time-hires \
+ port:p${perl5.major}-net-ssleay \
+ port:p${perl5.major}-digest-hmac \
+ port:p${perl5.major}-digest-md5 \
+ port:p${perl5.major}-digest-sha1 \
+ port:p${perl5.major}-crypt-des
patchfiles patch-Makefile.tplt
More information about the macports-dev
mailing list