mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #8477 from BKPepe/openwrt-18.06_perl
[OpenWrt 18.06] perlmod: fix ability to build module out-of-feed
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ include perlver.mk
|
||||
|
||||
PKG_NAME:=perl
|
||||
PKG_VERSION:=$(PERL_VERSION)
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=\
|
||||
https://cpan.metacpan.org/src/5.0 \
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
# 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)
|
||||
PKG_VERSION:=$(PKG_VERSION)+perl$(PERL_VERSION2)
|
||||
|
||||
Reference in New Issue
Block a user