Commit graph

12 commits

Author SHA1 Message Date
jmmv
3f542b2ed3 Add missing .endif. *sigh* 2003-08-03 20:52:30 +00:00
jmmv
9561b342dd Go back to the 'target' conditional. 'commands' fails on the 1.5 branch,
according to private mail by Thorsten Frueauf.
2003-08-03 11:47:01 +00:00
jmmv
9e7247e000 Use !commands(do-configure) instead of !target(do-configure). 2003-07-30 15:12:28 +00:00
jmmv
3cd568e4b7 Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.
2003-07-22 23:44:46 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
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-14 19:37:30 +00:00
seb
ddcd03149b Most, if not all, packages using perl5/module.mk are perl5 modules
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-03-05 16:07:44 +00:00
jlam
9c743a9576 It's BUILDLINK_DEPMETHOD.perl that should append "full". 2003-02-18 15:58:49 +00:00
jklos
be88583b1c BUILDLINK_DEPENDS.perl was incorrectly set to full; full is not a package
name. Changed to perl-5*.
2003-02-18 10:34:10 +00:00
jlam
e5c5173ba1 Require that we use a full dependency on perl when building/installing
Perl modules.
2003-02-17 20:08:46 +00:00
wiz
aaac5ddb21 Remove support for buildlink.mk -- noone uses it any longer. 2002-12-23 14:36:29 +00:00
seb
fc707a2aeb Introduce target perl5-configure.
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-26 12:31:28 +00:00
jlam
cb9c0e2464 perl5/module.mk is intended to be included by packages that build
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-23 08:56:13 +00:00