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$
|
||||
#
|
||||
|
||||
PROG= miniperl
|
||||
NOMAN= true
|
||||
@ -8,8 +6,13 @@ CFLAGS+=-I${PERL5SRC} -I${.OBJDIR}
|
||||
SRCS= miniperlmain.c config.h
|
||||
# Miniperl _must_ be static!!
|
||||
NOSHARED= yes
|
||||
DPADD= ${LIBPERL} ${LIBM} ${LIBCRYPT}
|
||||
LDADD= -L${.OBJDIR}/../libperl -lperl -lm -lcrypt
|
||||
.if exists(${.OBJDIR}/../libperl/)
|
||||
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.
|
||||
# This gets overwritten.
|
||||
|
Loading…
Reference in New Issue
Block a user