mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 10:29:15 +00:00
Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.
This commit is contained in:
parent
6c66bbed1a
commit
8bea8d9daa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62262
@ -19,7 +19,8 @@ NO_PERL_SCRIPT_MAKE= true
|
|||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
build-tools: lib${LIB}.a
|
build-tools: cleandepend
|
||||||
|
cd ${.CURDIR} && ${MAKE} lib${LIB}.a
|
||||||
|
|
||||||
config.h: links
|
config.h: links
|
||||||
@sh config_h.sh
|
@sh config_h.sh
|
||||||
|
@ -35,4 +35,10 @@ install:
|
|||||||
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/${VERSION} \
|
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/${VERSION} \
|
||||||
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/${VERSION}/mach
|
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/${VERSION}/mach
|
||||||
|
|
||||||
|
distribute:
|
||||||
|
cd ${.OBJDIR}/ext/${MODULEDIR} ;\
|
||||||
|
make -B install DESTDIR=${DISTDIR}/${dist} SHARED=copies \
|
||||||
|
INSTALLPRIVLIB=${DESTDIR}/usr/libdata/perl/${VERSION} \
|
||||||
|
INSTALLARCHLIB=${DESTDIR}/usr/libdata/perl/${VERSION}/mach
|
||||||
|
|
||||||
.PATH: ${PERL5SRC}
|
.PATH: ${PERL5SRC}
|
||||||
|
@ -14,7 +14,8 @@ MYLIBPERL= ${.CURDIR}/../libperl/libperl.a
|
|||||||
DPADD= ${MYLIBPERL} ${LIBM} ${LIBCRYPT}
|
DPADD= ${MYLIBPERL} ${LIBM} ${LIBCRYPT}
|
||||||
LDADD= ${MYLIBPERL} -lm -lcrypt
|
LDADD= ${MYLIBPERL} -lm -lcrypt
|
||||||
|
|
||||||
build-tools: ${PROG}
|
build-tools: cleandepend
|
||||||
|
cd ${.CURDIR} && ${MAKE} ${PROG}
|
||||||
|
|
||||||
NO_PERL_SCRIPT_MAKE= true
|
NO_PERL_SCRIPT_MAKE= true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user