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
3df6f40aa1
commit
0c07470770
@ -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…
x
Reference in New Issue
Block a user