mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 16:23:29 +00:00
Fixed wrong path to libperl in DPADD.
Fixed wrong path to libperl in LDADD in some funky objdir setups. Use ${dir}/libfoo.a instead of -L${dir} -lfoo for local static libraries in LDADD so that `make checkdpadd' doesn't report non-errors. Fixed misformatting of $FreeBSD$.
This commit is contained in:
parent
6a18627411
commit
758aca682c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58690
|
@ -1,6 +1,4 @@
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PROG= miniperl
|
PROG= miniperl
|
||||||
NOMAN= true
|
NOMAN= true
|
||||||
|
@ -8,8 +6,13 @@ CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
|
||||||
SRCS= miniperlmain.c config.h
|
SRCS= miniperlmain.c config.h
|
||||||
# Miniperl _must_ be static!!
|
# Miniperl _must_ be static!!
|
||||||
NOSHARED= yes
|
NOSHARED= yes
|
||||||
DPADD= ${LIBPERL} ${LIBM} ${LIBCRYPT}
|
.if exists(${.OBJDIR}/../libperl/)
|
||||||
LDADD= -L${.OBJDIR}/../libperl -lperl -lm -lcrypt
|
MYLIBPERL= ${.OBJDIR}/../libperl/libperl.a
|
||||||
|
.else
|
||||||
|
MYLIBPERL= ${.CURDIR}/../libperl/libperl.a
|
||||||
|
.endif
|
||||||
|
DPADD= ${MYLIBPERL} ${LIBM} ${LIBCRYPT}
|
||||||
|
LDADD= ${MYLIBPERL} -lm -lcrypt
|
||||||
|
|
||||||
# Trick the bootstrap tools into thinking that miniperl is perl.
|
# Trick the bootstrap tools into thinking that miniperl is perl.
|
||||||
# This gets overwritten.
|
# This gets overwritten.
|
||||||
|
|
Loading…
Reference in a new issue