Skip to content

Commit

Permalink
devel/binutils: avoid unwanted dependencies
Browse files Browse the repository at this point in the history
  * Disable zlib so that we don't pull in platform libz.
  * Set OVERRIDE_DIRDEPTH.depcomp=1 to disable depcomp-override
  • Loading branch information
Jonathan Perkin committed Dec 31, 2018
1 parent 5bd8209 commit 6ee0090
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/binutils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ CONFIGURE_ARGS+= --with-lib-path=${LIB_PATH}
CONFIGURE_ARGS+= --program-prefix=g
BINUTILS_PREFIX= ${PREFIX}/${MACHINE_GNU_PLATFORM}

# Joyent changes to avoid pulling in unwanted dependencies.
CONFIGURE_ARGS+= --without-zlib
OVERRIDE_DIRDEPTH.depcomp= -1

PLIST_SRC= ${PKGDIR}/PLIST.common
PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC

Expand Down

0 comments on commit 6ee0090

Please sign in to comment.