mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 00:05:24 +01:00
Reduce number of places where perl version is hardcoded.
This commit is contained in:
parent
4276dfee1d
commit
d5c8698964
9 changed files with 25 additions and 19 deletions
|
|
@ -85,6 +85,4 @@
|
|||
|
||||
#define OSNAME "linux"
|
||||
|
||||
#define PRIVLIB_EXP "/after/lib/perl5/5.003"
|
||||
|
||||
#undef __DATE__ /* want reproducible build */
|
||||
|
|
|
|||
|
|
@ -2,7 +2,11 @@
|
|||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
VERSION=5.003
|
||||
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||
|
||||
CC = tcc
|
||||
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\"
|
||||
|
||||
.PHONY: all
|
||||
|
||||
|
|
@ -16,5 +20,5 @@ miniperl: $(MINIPERL_OBJ)
|
|||
|
||||
install: all
|
||||
install miniperl $(PREFIX)/bin/perl
|
||||
mkdir -p $(PREFIX)/lib/perl5/5.003
|
||||
cp -r lib/* $(PREFIX)/lib/perl5/5.003/
|
||||
mkdir -p "$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(PRIVLIB_EXP)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue