Summary: | dev-lang/microperl - Larry Wall's Practical Extraction and Report Language by Makefile.micro | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sr20det <12f8219> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | 12f8219, jstein, kentnl, perl, sam |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
microperl-5.20.2.ebuild
minor header fix patch Makefile.patch |
Description
sr20det
2017-01-01 10:33:12 UTC
Created attachment 458232 [details]
microperl-5.20.2.ebuild
Created attachment 458234 [details, diff]
minor header fix patch
Created attachment 458236 [details, diff]
Makefile.patch
Comment on attachment 458236 [details, diff] Makefile.patch >diff -ru o/Makefile.micro perl-5.20.2/Makefile.micro >--- o/Makefile.micro 2017-01-01 01:23:55.227510314 +0200 >+++ perl-5.20.2/Makefile.micro 2017-01-01 01:25:40.908336473 +0200 >@@ -1,10 +1,10 @@ >-LD = $(CC) >+LD ?= $(CC) > CCFLAGS = -c > DEFINES = -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV \ > -DNO_MATHOMS >-OPTIMIZE = >-CFLAGS = $(DEFINES) $(OPTIMIZE) >-LDFLAGS = >+OPTIMIZE = >+CFLAGS += $(DEFINES) $(OPTIMIZE) >+LDFLAGS += > LIBS = -lm > _O = .o > ENV = env >@@ -22,7 +22,8 @@ > uregcomp$(_O) uregexec$(_O) urun$(_O) \ > uscope$(_O) usv$(_O) utaint$(_O) utoke$(_O) \ > unumeric$(_O) ulocale$(_O) umathoms$(_O) \ >- uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O) ukeywords$(_O) >+ uuniversal$(_O) uutf8$(_O) uutil$(_O) uperlapi$(_O) ukeywords$(_O) \ >+ caretx$(_O) > > microperl: $(O) > $(LD) -o $@ $(O) $(LDFLAGS) $(LIBS) >@@ -64,6 +65,9 @@ > > # The microperl objects. > >+caretx$(_O): $(HE) caretx.c >+ $(CC) $(CCFLAGS) -o $@ $(CFLAGS) caretx.c >+ > uav$(_O): $(HE) av.c > $(CC) $(CCFLAGS) -o $@ $(CFLAGS) av.c > Thank you for your contribution. Are you interested in proxy maintaining this package? I suggest to write SRC_URI=" mirror://cpan/src/5.0/${MY_P}.tar.bz2 " in one line. HOMEPAGE="http://www.perl.org/" HOMEPAGE should contain a URL about the installed software. Perl is a bit too broad. eerror "${CHOST} is not yet supported.. But you can fix this!" This line should be removed before the ebuild gets in the tree. Out of curiosity, would any of the patches we apply to dev-lang/perl be useful here? - Patches: https://github.com/gentoo-perl/perl-patchset - Derived Sources: https://github.com/gentoo-perl/perl5 Though you seem more equipped to understand how microperl works so are probably better of taking maintenance through proxy. BTW, for a DESCRIPTION, I'd shy away from what you have, and opt instead for something more like: "An ultra minimalist subset of Perl as a standalone language" or similar. As it is, "Larry Wall's Practical Extraction and Report Language" doesn't really say much useful, and its a backronym, and I feel like everyone who reads it learns something wrong which I have to then later unteach them of. Please consider maintaining this in GURU yourself. |