25 lines
583 B
Makefile
25 lines
583 B
Makefile
# Makefile - hhl - /usr/src/world/perl
|
|
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
distname = perl
|
|
no_objdir = 1
|
|
export BUILD_ZLIB = False
|
|
export BUILD_BZIP2 = 0
|
|
|
|
include world.mk
|
|
|
|
config_opts += --target=$(tgt)
|
|
config_opts += --sysroot=$(DESTDIR)
|
|
config_opts += --prefix=/usr
|
|
config_opts += -Duseshrplib
|
|
config_opts += -Dusethreads
|
|
|
|
define pre_configure
|
|
$(MAKE) -C $(distdir) perl-cross
|
|
tar --strip-components=1 -xf \
|
|
$(distdir)/perl-cross-$(perl-cross_version).tar.gz \
|
|
-C $(srcdir)
|
|
endef
|
|
|
|
include targets.mk
|