| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: replace.mk,v 1.287 2019/03/04 11:56:05 wiz Exp $ | | 1 | # $NetBSD: replace.mk,v 1.288 2019/03/10 19:52:18 joerg Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # This code is derived from software contributed to The NetBSD Foundation | | 6 | # This code is derived from software contributed to The NetBSD Foundation |
7 | # by Johnny C. Lam. | | 7 | # by Johnny C. Lam. |
8 | # | | 8 | # |
9 | # Redistribution and use in source and binary forms, with or without | | 9 | # Redistribution and use in source and binary forms, with or without |
10 | # modification, are permitted provided that the following conditions | | 10 | # modification, are permitted provided that the following conditions |
11 | # are met: | | 11 | # are met: |
12 | # 1. Redistributions of source code must retain the above copyright | | 12 | # 1. Redistributions of source code must retain the above copyright |
13 | # notice, this list of conditions and the following disclaimer. | | 13 | # notice, this list of conditions and the following disclaimer. |
14 | # 2. Redistributions in binary form must reproduce the above copyright | | 14 | # 2. Redistributions in binary form must reproduce the above copyright |
| @@ -1095,28 +1095,27 @@ _TOOLS.ghostscript= dvipdf gs pdf2ps ps2 | | | @@ -1095,28 +1095,27 @@ _TOOLS.ghostscript= dvipdf gs pdf2ps ps2 |
1095 | GHOSTSCRIPT_REQD?= 6.01 | | 1095 | GHOSTSCRIPT_REQD?= 6.01 |
1096 | | | 1096 | |
1097 | # Set TOOLS_DEPENDS.ghostscript to an appropriate dependency based on | | 1097 | # Set TOOLS_DEPENDS.ghostscript to an appropriate dependency based on |
1098 | # various package options. | | 1098 | # various package options. |
1099 | # | | 1099 | # |
1100 | .if !defined(TOOLS_DEPENDS.ghostscript) | | 1100 | .if !defined(TOOLS_DEPENDS.ghostscript) |
1101 | _TOOLS_DEP.ghostscript:= ghostscript | | 1101 | _TOOLS_DEP.ghostscript:= ghostscript |
1102 | TOOLS_DEPENDS.ghostscript= ghostscript>=${GHOSTSCRIPT_REQD}:../../print/ghostscript | | 1102 | TOOLS_DEPENDS.ghostscript= ghostscript>=${GHOSTSCRIPT_REQD}:../../print/ghostscript |
1103 | MAKEVARS+= TOOLS_DEPENDS.ghostscript | | 1103 | MAKEVARS+= TOOLS_DEPENDS.ghostscript |
1104 | .endif | | 1104 | .endif |
1105 | | | 1105 | |
1106 | .for _t_ in ${_TOOLS.ghostscript} | | 1106 | .for _t_ in ${_TOOLS.ghostscript} |
1107 | . if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_}) | | 1107 | . if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_}) |
1108 | . if !empty(PKGPATH:Mprint/ghostscript) || \ | | 1108 | . if !empty(PKGPATH:Mprint/ghostscript) |
1109 | !empty(PKGPATH:Mprint/ghostscript-esp) | | | |
1110 | MAKEFLAGS+= TOOLS_IGNORE.${_t_}= | | 1109 | MAKEFLAGS+= TOOLS_IGNORE.${_t_}= |
1111 | . elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS]) | | 1110 | . elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS]) |
1112 | TOOLS_DEPENDS.${_t_}?= ${TOOLS_DEPENDS.ghostscript} | | 1111 | TOOLS_DEPENDS.${_t_}?= ${TOOLS_DEPENDS.ghostscript} |
1113 | TOOLS_CREATE+= ${_t_} | | 1112 | TOOLS_CREATE+= ${_t_} |
1114 | TOOLS_PATH.${_t_}= ${LOCALBASE}/bin/${_t_} | | 1113 | TOOLS_PATH.${_t_}= ${LOCALBASE}/bin/${_t_} |
1115 | . endif | | 1114 | . endif |
1116 | . endif | | 1115 | . endif |
1117 | .endfor | | 1116 | .endfor |
1118 | | | 1117 | |
1119 | ###################################################################### | | 1118 | ###################################################################### |
1120 | | | 1119 | |
1121 | # For modular Xorg, these are individual packages. | | 1120 | # For modular Xorg, these are individual packages. |
1122 | # | | 1121 | # |