diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2000-03-27 18:29:46 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2000-03-27 18:29:46 +0000 |
| commit | 758aca682ca70669ae57ccef91befe17f9165783 (patch) | |
| tree | adc50ed4844ea3e904bd1bc2fd3205f11e0cf337 | |
| parent | 6a1862741165dc8c9c812f9f53f829a55b1c84db (diff) | |
Notes
| -rw-r--r-- | gnu/usr.bin/perl/miniperl/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/usr.bin/perl/miniperl/Makefile b/gnu/usr.bin/perl/miniperl/Makefile index e8c6214d23fe..351539d2f69d 100644 --- a/gnu/usr.bin/perl/miniperl/Makefile +++ b/gnu/usr.bin/perl/miniperl/Makefile @@ -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. |
