Browse Source

Merge pull request #7089 from pprindeville/perlmod-fix-include-perlver.mk

perlmod: fix ability to build module out-of-feed
lilik-openwrt-22.03
Ted Hess 6 years ago
committed by GitHub
parent
commit
99fa19f218
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      lang/perl/Makefile
  2. +5
    -1
      lang/perl/perlmod.mk

+ 1
- 1
lang/perl/Makefile View File

@ -11,7 +11,7 @@ include perlver.mk
PKG_NAME:=perl PKG_NAME:=perl
PKG_VERSION:=$(PERL_VERSION) PKG_VERSION:=$(PERL_VERSION)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=\ PKG_SOURCE_URL:=\
https://cpan.metacpan.org/src/5.0 \ https://cpan.metacpan.org/src/5.0 \


+ 5
- 1
lang/perl/perlmod.mk View File

@ -1,7 +1,11 @@
# This makefile simplifies perl module builds. # This makefile simplifies perl module builds.
# #
include ../perl/perlver.mk
ifeq ($(origin PERL_INCLUDE_DIR),undefined)
PERL_INCLUDE_DIR:=$(dir $(lastword $(MAKEFILE_LIST)))
endif
include $(PERL_INCLUDE_DIR)/perlver.mk
ifneq ($(PKG_NAME),perl) ifneq ($(PKG_NAME),perl)
PKG_VERSION:=$(PKG_VERSION)+perl$(PERL_VERSION2) PKG_VERSION:=$(PKG_VERSION)+perl$(PERL_VERSION2)


Loading…
Cancel
Save