SF.net SVN: gar:[25837] csw/mgar/pkg/perl5/trunk/Makefile
claudio_sf at users.sourceforge.net
claudio_sf at users.sourceforge.net
Wed Jul 13 21:07:43 CEST 2016
Revision: 25837
http://sourceforge.net/p/gar/code/25837
Author: claudio_sf
Date: 2016-07-13 19:07:42 +0000 (Wed, 13 Jul 2016)
Log Message:
-----------
perl5/trunk: Comments
Modified Paths:
--------------
csw/mgar/pkg/perl5/trunk/Makefile
Modified: csw/mgar/pkg/perl5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/perl5/trunk/Makefile 2016-07-13 17:29:49 UTC (rev 25836)
+++ csw/mgar/pkg/perl5/trunk/Makefile 2016-07-13 19:07:42 UTC (rev 25837)
@@ -1,3 +1,4 @@
+### General ###
NAME = perl5
VERSION = 24.0
VERSION_MAJOR = $(shell echo $(VERSION) | cut -f1-2 -d.)
@@ -26,8 +27,6 @@
SPKG_DESC_CSWperl5 = $(DESCRIPTION)
OBSOLETED_BY_CSWperl5 = CSWperl CSWperldoc CSWpm-cpan-meta CSWpm-test-use-ok CSWpm-test-tester CSWpm-json-pp CSWpm-parse-cpan-meta CSWpm-cpan-meta-yaml CSWpm-module-metadata CSWpm-experimental CSWpm-cpan-meta-requirements CSWpm-perl-ostype
LICENSE = Copying
-
-# GCC build (Sun Studio build has been fixed)
GARCOMPILER = GNU
MAKE_OPT_unstable10s = -j 24
MAKE_OPT_unstable10x = -j 4
@@ -39,8 +38,16 @@
NOGITPATCH = 1
EXTRA_RUNPATH_DIRS = $(libdir)/perl/$(VERSION_MAJOR_FULL)/CORE
EXTRA_RUNPATH_ISALIST = $(EXTRA_RUNPATH_DIRS)
+# We want 64 bit binaries
+MERGE_DIRS_isa-extra = $(bindir) $(sbindir) $(libdir) $(libexecdir)
+BUILD_SCRIPTS = perl
+TEST_SCRIPTS = perl
+INSTALL_SCRIPTS = perl
+RUNTIME_DEP_PKGS_CSWperl5 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWperl5 += CSWlibssp0
+RUNTIME_DEP_PKGS_CSWperl5 += CSWlibgdbm4
-# Custom configure
+### Configure values ###
CONFIGURE_SCRIPTS = perl
CONFIGURE_ARGS += -Darchlib=$(libdir)/perl/$(VERSION_MAJOR_FULL)
CONFIGURE_ARGS += -Dcc=$(CC)
@@ -70,32 +77,12 @@
CONFIGURE_ARGS += -Dlibsdirs=" $(abspath /usr/lib/$(MEMORYMODEL)) $(libdir)"
CONFIGURE_ARGS += -Dsed=/opt/csw/bin/gsed
CONFIGURE_ARGS += -Dlddlflags=-shared
-
CONFIGURE_ARGS-64 += -Duse64bitint
CONFIGURE_ARGS-64 += -Duse64bitall
CONFIGURE_ARGS-64 += -Dlddlflags='-shared -m64'
-
CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL))
-# We want 64 bit binaries
-MERGE_DIRS_isa-extra = $(bindir) $(sbindir) $(libdir) $(libexecdir)
-
-BUILD_SCRIPTS = perl
-TEST_SCRIPTS = perl
-INSTALL_SCRIPTS = perl
-
-# Get it built
-RUNTIME_DEP_PKGS_CSWperl5 += CSWlibgcc-s1
-RUNTIME_DEP_PKGS_CSWperl5 += CSWlibssp0
-RUNTIME_DEP_PKGS_CSWperl5 += CSWlibgdbm4
-
-# Temporary deps
-#RUNTIME_DEP_PKGS_CSWperl5 += CSWperl
-#CHECKPKG_OVERRIDES_CSWpm-cpan-meta-requirements += catalogname-too-long
-# weird .nfs* file leftover
-#CHECKPKG_OVERRIDES_CSWperl5 += pkginfo-opencsw-repository-uncommitted
-
-# Overrides (check with Dago)
+### Overrides (TODO: check with Dago) ###
CHECKPKG_OVERRIDES_CSWperl5 += missing-dependency|CSWperl
CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|CSWpm-module-metadata
CHECKPKG_OVERRIDES_CSWperl5 += wrong-docdir|CSWpm-module-metadata
@@ -107,9 +94,30 @@
CHECKPKG_OVERRIDES_CSWperl5 += file-collision|CSWpm-experimental
CHECKPKG_OVERRIDES_CSWperl5 += file-collision|CSWpm-cpan-meta-requirements
CHECKPKG_OVERRIDES_CSWperl5 += file-collision|CSWpm-perl-ostype
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/perl/5.24.0/Config.pod
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/perl/5.24.0/Config_heavy.pl
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/perl/5.24.0/CORE/uconfig.h
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/amd64/perl/5.24.0/CORE/config.h
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/perl/5.24.0/Config_heavy.pl
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/perl/5.24.0/Config.pod
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/perl/5.24.0/CORE/uconfig.h
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/lib/perl/5.24.0/CORE/config.h
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/amd64/cpan
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/amd64/enc2xs
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/amd64/pstruct
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/pentium_pro/cpan
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/pentium_pro/c2ph
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/local|root/opt/csw/bin/pentium_pro/enc2xs
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/perl/5.24.0/Config.pod
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/perl/5.24.0/Storable.pm
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/amd64/perl/5.24.0/Config_heavy.pl
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/perl/5.24.0/Config_heavy.pl
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/perl/5.24.0/Storable.pm
+CHECKPKG_OVERRIDES_CSWperl5 += file-with-bad-content|/usr/share|root/opt/csw/lib/perl/5.24.0/Config.pod
+CHECKPKG_OVERRIDES_CSWpm-cpan-meta-requirements += catalogname-too-long
+#RUNTIME_DEP_PKGS_CSWperl5 += CSWperl
-
-
+### Targets ###
include gar/category.mk
# Configure
@@ -128,9 +136,7 @@
@$(MAKECOOKIE)
# Test
-# On the x86/x64 machines, this test fails due the NFS setup of the buildfarm. If only this test fails
-# just package it with SKIPTEST=1
-# $ SKIPTEST=1 mgar package
+# On the x86/x64 machines, 1 test fails due the NFS setup of the buildfarm:
# cpan/ExtUtils-Command/t/cp .................................... # Failed test 'cp updated mtime'
# at t/cp.t line 26.
# '2366'
@@ -138,6 +144,8 @@
# '1'
# Looks like you failed 1 test of 1.
# FAILED at test 1
+# Run the packaging with SKIPTEST=1
+# $ SKIPTEST=1 mgar package
test-perl:
@echo " ==> Running make $(TEST_TARGET) in $*"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list