summaryrefslogtreecommitdiff
path: root/lang/perl5
AgeCommit message (Collapse)AuthorFilesLines
2003-03-18Replaced two outdated US ftp serversheinz1-3/+4
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam2-4/+6
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2003-03-05Most, if not all, packages using perl5/module.mk are perl5 modulesseb1-1/+4
using ExtUtils::MakeMaker style Makefile: usually they provide a 'test' target. So adding 'TEST_TARGET?=test' here gives us a lot of packages with the test target enabled.
2003-02-27fix previous change for FreeBSD/gcc3.grant2-6/+6
2003-02-27fix some indenting and strip unneeded parens.grant1-11/+11
2003-02-21adopt some patches from FreeBSD ports, allowing this to build ongrant4-7/+58
FreeBSD 5.0 (and probably Solaris w/ gcc3). also, make really sure we don't try to use perl's malloc().
2003-02-18It's BUILDLINK_DEPMETHOD.perl that should append "full".jlam1-2/+2
2003-02-18BUILDLINK_DEPENDS.perl was incorrectly set to full; full is not a packagejklos1-2/+2
name. Changed to perl-5*.
2003-02-17Require that we use a full dependency on perl when building/installingjlam1-1/+3
Perl modules.
2003-02-17convert to use test target from bsd.pkg.mkdillo1-5/+2
addresses PR pkg/19416
2002-12-24Unused.wiz1-62/+0
2002-12-24Make this compile and install cleanly on IRIX.jschauma2-1/+16
2002-12-23Whitespace fixcjep1-4/+4
2002-12-23mark this NOT_FOR_PLATFORM Darwin, since the earliest version of perlgrant1-1/+3
with Darwin support is perl58 and attempting to build this version fails.
2002-12-23Remove support for buildlink.mk -- noone uses it any longer.wiz1-6/+2
2002-10-23correct HOMEPAGE.grant1-2/+2
2002-09-26Introduce target perl5-configure.seb1-6/+13
Now a package using this file can be configured by the regular do-configure target if PERL5_CONFIGURE is _not_ set to YES (which is the default), and then have a the standard perl configuration step done by say the post-configure target. Example: PERL5_CONFIGURE= NO post-configure: perl5-configure Usually in such a case PERL5_CONFIGURE_DIRS would have to be adjusted, as well as other directory variables. See following commit to graphics/p5-PerlMagick package for a complete example. The previous behavior is preserved if PERL5_CONFIGURE default value is left untouched, i.e. the do-configure target does the standard perl configuration. Please note that this new feature was made up by Johnny Lam. Thanks again!
2002-09-24Complete standardization of messages according to latest pkglint.wiz1-3/+3
2002-09-23perl5/module.mk is intended to be included by packages that buildjlam1-0/+82
and install perl5 modules. The following targets are provided by this file: do-configure runs the standard perl configuration in each of the directories specified in ${PERL5_CONFIGURE_DIRS}. The following variables may be set prior to including this file: PERL5_CONFIGURE if "YES", then run the standard perl configuration assuming Makefile.PL exists; defaults to "YES". PERL5_CONFIGURE_DIRS list of directories in which to run the standard perl configuration; defaults to ${CONFIGURE_DIRS}. PERL5_LDFLAGS extra linker flags to pass on to the build process. This file also does the PERL5_PACKLIST handling to generate a PLIST. When all p5-* packages have been modified to use module.mk, then the PERL5_PACKLIST code in bsd.pkg.mk can be removed.
2002-09-05Only add a build dependency on perl if USE_PERL5 == "build".jlam1-1/+5
2002-09-05If USE_PERL5 is "build", then only set a build dependency on perl.jlam1-1/+5
2002-08-25Respect new USE_PERL5 semantics by pulling over a change from buildlink.mk.jlam1-2/+2
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam3-3/+31
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-07-24Make use of USE_PERL5 and the other perl-related bits in bsd.pkg.mk insteadjlam1-25/+4
of duplicating all of the logic in this file.
2002-07-22Correctly build from lang/perl58 if we need perl-5.8.0 on Darwin.jlam1-5/+6
2002-07-22Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl asjlam1-1/+5
DynaLoader.a is now an archive of PIC objects.
2002-02-15mkdir -> ${MKDIR}skrll1-2/+2
rmdir -> ${RMDIR} rm -> ${RM} (${RM} added to PLIST_SUBST) chmod -> ${CHMOD} chown -> ${CHOWN}
2002-02-08Remove patch-ai sha1, since the file doesn't exist.wiz1-2/+1
2002-01-30Fix long-standing bug where -R${PREFIX}/lib wasn't being recorded in thejlam2-6/+12
LDDLFLAGS because ${PREFIX} is not defined for the sub-scripts that are executed by the Configure script. This resulted in -R/lib.
2002-01-30Move post-patch target that modified files to pre-configure, so that thejlam1-2/+2
result of "make patch" can be used for "mkpatches".
2002-01-28Update lang/perl5 to 5.6.1nb7. Changes from version 5.6.1nb6 includejlam3-3/+69
changing the default module/library search path to have site_perl come before the standard directories. In other words, the previous search path on an i386 was: /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl but it is now: /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 The rationale for this is that when we install a module that is newer than one in the standard library, the new module goes into the site_perl directory as it's an add-on module. However, we can't use the newer module without modifying either the scripts of the perl environment to find the newer module explicitly because of the order of the library search path: the site_perl directories come after the standard directories. The normal solution is to directly replace the module in the standard library with the newer module. However, this isn't really on option when installing via pkgsrc because the older module files are owned by the perl package. By placing the the site_perl directories before the standard directories, newer modules that we install via pkgsrc are simply found before the older ones in the standard library.
2001-12-14Typo.jlam1-3/+3
2001-12-14Use 'rm -f' instead of 'rm' in case the files don't already exist.jlam1-2/+2
2001-12-14Install perl5.6.1 as statically linked if perl is statically linked. Alsojlam1-8/+22
provide a way to avoid building a statically linked perl on platforms where it doesn't matter. Currently, by empirical evidence in pkg/14871, this includes mipsel and probably mipseb. Other platforms can add themselves if/when they discover it doesn't matter for them either. Closes pkg/14871 by John Hawkinson <jhawk@mit.edu>.
2001-12-11Only replace -L${LOCALBASE}/lib with "-L*" options from ${LDFLAGS} so thatjlam1-5/+5
we don't accidentally add options that the linker doesn't understand, such as "-Wl,-R*". This should fix pkg/14907 by John Klos john@sixgirls.org where the a.out linker ld doesn't understand extra flags passed in from LDFLAGS from the pkgsrc environment when building a perl package.
2001-12-03Move comment to separate line to unconfuse lintpkgsrc.wiz1-2/+3
2001-12-03Use PKGREVISION to manage package-specific versions numbers that differjlam2-14/+4
from the distfile version number. G/C the version number stuff from perl5/Makefile.common, preserving only PERL5_DIST_VERS as it's still used by libperl.
2001-11-30Create ECHO_BUILDLINK_MSG for printing buildlink diagnostics. It's justjlam1-2/+2
set to '${ECHO_MSG} "=>"' for now.
2001-11-28Add PERL5OPT to the CONFIGURE_ENV, so that configure scripts that usejlam1-1/+2
perl will use the correct local include and library search paths.
2001-11-28Rearrange and separate out code that only pertains to USE_BUILDLINK_ONLYjlam1-20/+22
packages. This file can now completely replace USE_PERL5.
2001-11-28Use ${BUILDLINK_TARGETS.perl} as the pre-configure requisites so we canjlam1-2/+2
override it's value.
2001-11-25Complete idea behind previous commit.jlam1-1/+7
2001-11-25Allow passing flags to linker and to compiler via LDFLAGS and CPPFLAGSjlam1-3/+7
settings in the package Makefile.
2001-11-24Add buildlink.mk file for use by perl5 module package Makefiles. Thisjlam1-0/+61
buildlink.mk file can replace the use of USE_PERL5: it defines all of the same perl variables as bsd.pkg.mk, adds a dependency on perl>=${PERL5_REQD} and conditionally includes bsd.perl.mk. It also creates a buildlinkified Config.pm that makes the local include/library search path include ${BUILDLINK_DIR} instead of hard-coding ${LOCALBASE}. There's more to be done to make this more useful in strongly buildlinkifying a package, but it's useful now as-is in weakly buildlinkifying a package.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-2/+2
2001-10-25ftp.digital.com doesn't hold the CPAN mirror any longer. It's atjlam1-2/+2
gatekeeper.dec.com.
2001-10-21Add 'dl' to the LIBSWANTED.SunOS line.veego1-2/+2
Now the perl configure script finds a dlopen on SunOS and builds a shared libperl, which makes it possible to build mod_perl.
2001-10-14Add a patch to the perl package that causes perl modules from CPAN to linkjlam3-3/+44
directly against -lperl when built. Combined with the previous update of perl to add ${LOCALBASE}/lib to the rpath when creating shared libraries/modules, these two changes make using mod_perl.so (ap-perl) more painless. All perl shared modules now contain interlibrary dependencies to the shared libraries they need. Instead of needing (at least on ELF): LoadFile !/usr/lib/libm.so LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so ... # Any other libraries needed by perl shared modules need to listed # with LoadFile here. ... LoadModule perl_module lib/httpd/mod_perl.so AddModule mod_perl.c you'd need only the last two lines as the mod_perl authors intended. I've tested this patch for many weeks now, successfully loading and using the p5-Apache-ASP module as my test bed, and I haven't noticed any problems with normal perl usage. Also comment the Makefile slightly better.
2001-10-02The previous change (making ExtUtils recognize -Wl,-R as the prefix for ajlam1-2/+2
linker rpath flag) deserves a bump in the package version number. Go to perl-5.6.1nb5.
2001-10-02Teach the ExtUtils modules (the ones that create Makefiles for perljlam2-1/+37
modules) about -Wl,-R. We cause -Wl,-R/path/to/libdir in LIBS settings to now get propagated correctly to the link command for shared modules. The rpath flag is also silently coerced to start with -Wl,-R or -R depending on the contents of ${LDDLFLAGS} to deal with either cc or ld being invoked.