pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
muon: Use the documented two-stage bootstrap process
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Fri Sep 27 13:07:23 2024 +0200
Changeset: 9f016237ec1125ca08cc438fe9dcc19930df583e
Modified Files:
muon/Makefile
Log Message:
muon: Use the documented two-stage bootstrap process
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9f016237ec1125ca08cc438fe9dcc19930df583e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
muon/Makefile | 47 +++++++++++++++--------------------------------
1 file changed, 15 insertions(+), 32 deletions(-)
diffs:
diff --git a/muon/Makefile b/muon/Makefile
index 6ecb02020d..f03bf343ec 100644
--- a/muon/Makefile
+++ b/muon/Makefile
@@ -22,46 +22,29 @@ DEPENDS+= samurai>=1.2:../../devel/samurai
# Required by some platforms for clock_gettime()
LDFLAGS+= -lrt
+MUON_ARGS+= -Dlibcurl=disabled
+MUON_ARGS+= -Dlibarchive=disabled
+MUON_ARGS+= -Dlibpkgconf=enabled
+MUON_ARGS+= -Dsamurai=disabled
+MUON_ARGS+= -Dreadline=builtin
+MUON_ARGS+= -Dstatic=false
+MUON_ARGS+= -Ddocs=disabled
+MUON_ARGS+= -Dwebsite=false
+MUON_ARGS+= -Dtracy=disabled
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-configure:
- cd ${WRKSRC} && env ${CONFIGURE_ENV} \
- ${CONFIG_SHELL} ./bootstrap.sh bootstrap1
- cd ${WRKSRC} && env ${CONFIGURE_ENV} ./bootstrap1/muon setup \
- -Dlibcurl=disabled \
- -Dlibarchive=disabled \
- -Dlibpkgconf=enabled \
- -Dsamurai=disabled \
- -Dreadline=builtin \
- -Dstatic=false \
- -Ddocs=disabled \
- -Dwebsite=false \
- -Dtracy=disabled \
- bootstrap2
- cd ${WRKSRC} && env ${CONFIGURE_ENV} \
- samu -j ${_MAKE_JOBS_N:U1} -C bootstrap2
+ cd ${WRKSRC} && env ${CONFIGURE_ENV} ${CONFIG_SHELL} ./bootstrap.sh bootstrap
do-build:
- cd ${WRKSRC} && env ${MAKE_ENV} ./bootstrap2/muon setup \
- -Dlibcurl=disabled \
- -Dlibarchive=disabled \
- -Dlibpkgconf=enabled \
- -Dsamurai=disabled \
- -Dreadline=builtin \
- -Dstatic=false \
- -Ddocs=disabled \
- -Dwebsite=false \
- -Dtracy=disabled \
- output
- cd ${WRKSRC} && env ${MAKE_ENV} \
- samu -j ${_MAKE_JOBS_N:U1} -C output
+ cd ${WRKSRC} && env ${MAKE_ENV} ./bootstrap/muon setup ${MUON_ARGS} output
+ cd ${WRKSRC} && env ${MAKE_ENV} samu -j ${_MAKE_JOBS_N:U1} -C output
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/output/muon \
- ${DESTDIR}${PREFIX}/bin/muon
- ${INSTALL_MAN} ${WRKDIR}/man/muon.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/output/muon ${DESTDIR}${PREFIX}/bin/muon
+ ${INSTALL_MAN} ${WRKDIR}/man/muon.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/pkgconf/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index