Changeset 99613
- Timestamp:
- Nov 12, 2012, 12:09:08 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/_resources/port1.0/group/perl5-1.0.tcl
r96776 r99613 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 2 # perl5-1.0.tcl3 #4 2 # $Id$ 5 3 # … … 36 34 37 35 # portfile configuration options 38 # perl5.branches: the major perl version supported by this module. A36 # perl5.branches: the major perl versions supported by this module. A 39 37 # subport will be created for each. e.g. p5.12-foo, p5.10-foo, ... 40 38 # perl5.default_branch: the branch used when you request p5-foo … … 153 151 default configure.args {"INSTALLDIRS=vendor CC=\"${configure.cc}\" LD=\"${configure.cc}\""} 154 152 155 # CCFLAGS can be passed in to "configure" but it's not necessaril ary inherited156 # LDFLAGS can't be passed in (or if it can, it's not easy to figure out how) 153 # CCFLAGS can be passed in to "configure" but it's not necessarily inherited. 154 # LDFLAGS can't be passed in (or if it can, it's not easy to figure out how). 157 155 post-configure { 158 156 system "find ${worksrcpath} -name Makefile -type f -print0 | xargs -0 /usr/bin/sed -i \"\" '/^CCFLAGS *=/s/$/ [get_canonical_archflags cc]/' \;" … … 186 184 } 187 185 188 # Switch from default MakeMaker-style routine to Module::Build-style 186 # Switch from default MakeMaker-style routine to Module::Build-style. 189 187 proc perl5.use_module_build {} { 190 188 global perl5.bin destroot perl5.major … … 212 210 } 213 211 214 # convert a floating point version to an dotted-integer one212 # Convert a floating-point version to a dotted-integer one. 215 213 proc perl5_convert_version {vers} { 216 214 set index [string first . $vers]
Note: See TracChangeset
for help on using the changeset viewer.