Skip to content

Commit

Permalink
remove USE_LDCONFIG and add BUNDLE_LIBS
Browse files Browse the repository at this point in the history
Shared libraries installed along with vscode are for internal use and
not intended for public consumption.

Remove USE_LDCONFIG so as not to add the shared library directory to
search paths. Add BUNDLE_LIBS so that pkg(8) does not pick the
libraries up for packaging.

Related GitHub Issue: freebsd/pkg#2368
  • Loading branch information
tagattie committed Dec 4, 2024
1 parent e93baa5 commit 90708e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editors/vscode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@ USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \
USE_GL= gbm gl glesv2
USE_GNOME= atk cairo pango gdkpixbuf2 gtk30 libxml2 libxslt

USE_LDCONFIG= ${DATADIR}

SHEBANG_REGEX= ./(extensions|node_modules|resources|scripts|src)/.*\.sh$$
PATHFIX_FILES= src/vs/workbench/contrib/debug/node/terminals.ts

DATADIR= ${PREFIX}/share/code-oss
TMPDIR= ${WRKDIR}
BUNDLE_LIBS= yes

MAKE_ENV+= BUILD_SOURCEVERSION=${SOURCE_COMMIT_HASH}
# Don't download electron binary distribution on electron node_modules installation
Expand Down

0 comments on commit 90708e5

Please sign in to comment.