Skip to content

Commit

Permalink
chicken5-bootstrap: remove unused parts in the Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkicoon committed Apr 30, 2023
1 parent c3fecf9 commit fe589cb
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions lang/chicken5-boot/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2023/04/26 18:09:54 nikita Exp $
# $NetBSD: Makefile,v 1.2 2023/04/30 19:50:42 nikita Exp $

DISTNAME= chicken-5.3.0
PKGNAME= ${DISTNAME:S/chicken/chicken5-boot/}
Expand All @@ -16,9 +16,6 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake
UNLIMIT_RESOURCES= datasize

BUILD_DEFS+= CHICKEN_BINARY_VERSION
CHICKEN_BINARY_VERSION= 11

BUILD_TARGET= boot-chicken
WRKSRC= ${WRKDIR}/chicken-${PKGVERSION_NOREV}
INSTALLATION_DIRS+= libexec
Expand Down Expand Up @@ -48,17 +45,7 @@ MAKE_ENV+= C_COMPILER=${CC:Q}
MAKE_ENV+= HOST= # fix ${HOST} prepending ${CC}
# Need to have these in MAKE_FLAGS, MAKE_ENV is not enough due to the
# way the build system overrides them.
MAKE_FLAGS+= PLATFORM=${PLATFORM:Q} PREFIX=${PREFIX} DESTDIR=${DESTDIR}
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_FLAGS+= INFODIR=${PREFIX}/${PKGINFODIR}
MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGNAME_NOREV}
MAKE_FLAGS+= INSTALL_PROGRAM=${INSTALL:Q}

TEST_TARGET= check

PLIST_SUBST+= CHICKEN_BINARY_VERSION=${CHICKEN_BINARY_VERSION:Q}
PRINT_PLIST_AWK+= { sub("/${CHICKEN_BINARY_VERSION}/", "/$${CHICKEN_BINARY_VERSION}/") }
PRINT_PLIST_AWK+= { sub(".so.${CHICKEN_BINARY_VERSION}$$", ".so.$${CHICKEN_BINARY_VERSION}") }
MAKE_FLAGS+= PLATFORM=${PLATFORM:Q}

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/chicken-boot ${DESTDIR}${PREFIX}/libexec/chicken-bootstrap
Expand Down

0 comments on commit fe589cb

Please sign in to comment.