Skip to content

Commit

Permalink
editors/vscode: 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 shared
libraries up for packaging.

Bump port revision for package change.

Related GitHub Issue: freebsd/pkg#2368

Reported by	Vlad Biley <[email protected]>
  • Loading branch information
tagattie committed Dec 4, 2024
1 parent 9340b96 commit 6dfe35e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions editors/vscode/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= vscode
DISTVERSION= 1.95.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= https://github.com/tagattie/FreeBSD-VSCode/releases/download/${DISTVERSION}/:node_modules
DISTFILES= vscode-node-modules-${DISTVERSION}${EXTRACT_SUFX}:node_modules \
Expand Down Expand Up @@ -80,13 +80,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 6dfe35e

Please sign in to comment.