Skip to content

Commit

Permalink
Mk: unregister removed GhostScript 8 ports
Browse files Browse the repository at this point in the history
  • Loading branch information
rene0 committed Jun 30, 2023
1 parent e8db976 commit 6290516
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions Mk/Uses/ghostscript.mk
Expand Up @@ -4,12 +4,12 @@
# Usage: USES=ghostscript or USES=ghostscript:args
# Valid ARGS: <version>, build, run, test, x11
#
# version The chooseable versions are 8, 9 and agpl. If no version is
# version The chooseable versions are 9 and agpl. If no version is
# specified version agpl is selected.
#
# USES=ghostscript:8 # Use Ghostscript 8
# USES=ghostscript:9 # Use Ghostscript 9
# USES=ghostscript:run # Use the set default Ghostscript as a run dependency
# USES=ghostscript:8,build # Use ghostscript 8 as a build dependency.
# USES=ghostscript:9,build # Use ghostscript 9 as a build dependency.
#
# x11 Indicate that X11 support is required.
# build Indicates that Ghostscript is needed at build time and adds
Expand All @@ -30,15 +30,15 @@ _INCLUDE_USES_GHOSTSCRIPT_MK= yes
# allowed versions
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
_GS_VERSION= 8 9 agpl
_GS_VERSION= 9 agpl

_GS_ARGS= ${ghostscript_ARGS}

. if ${_GS_ARGS:N[89]:Nagpl:Nx11:Nbuild:Nrun:Ntest}
. if ${_GS_ARGS:N[9]:Nagpl:Nx11:Nbuild:Nrun:Ntest}
IGNORE?= Unknown ghostscript argument ${_GS_ARGS}
. endif

. if ${GHOSTSCRIPT_DEFAULT:N[789]:Nagpl}
. if ${GHOSTSCRIPT_DEFAULT:N[9]:Nagpl}
IGNORE?= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION}
. endif

Expand Down Expand Up @@ -71,8 +71,6 @@ _V=${V}
_GS_SELECTED?= 9
. elif ${_V:Magpl}
_GS_SELECTED?= 9-agpl
. elif ${_V:M8}
_GS_SELECTED?= 8
. endif
. endfor

Expand All @@ -81,8 +79,6 @@ _GS_SELECTED?= 8
_GS_VERSION_MINOR= 9.16_2
. elif !empty(_GS_SELECTED:M9)
_GS_VERSION_MINOR= 9.06_11
. elif !empty(_GS_SELECTED:M8)
_GS_VERSION_MINOR= 8.71_19
. endif

# dependencies
Expand Down
2 changes: 1 addition & 1 deletion Mk/bsd.default-versions.mk
Expand Up @@ -53,7 +53,7 @@ GCC_DEFAULT?= 8
. else
GCC_DEFAULT?= 12
. endif
# Possible values: 8, 9, agpl
# Possible values: 9, agpl
GHOSTSCRIPT_DEFAULT?= agpl
# Possible values: mesa-libs, mesa-devel
GL_DEFAULT?= mesa-libs
Expand Down

0 comments on commit 6290516

Please sign in to comment.