diff options
author | kwm <kwm@FreeBSD.org> | 2015-07-17 04:53:28 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-07-17 04:53:28 +0800 |
commit | 4490d4bc75707dbdea79b297aac91b4ce174c25f (patch) | |
tree | 3fa9947d2b38c86d548ab0b4face968420a2825b /Mk/bsd.sanity.mk | |
parent | 929b8a6a2120516c63b8fecd8eba713ab5aafae2 (diff) | |
download | freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.gz freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.zst freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.zip |
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl
PR: 201201 (exp-run)
Approved by: portmgr (mat@)
Exp run by: antione@ (previous patch)
Differential Revision: https://reviews.freebsd.org/D2938
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r-- | Mk/bsd.sanity.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk index a540bf93a4d8..3040665aa62e 100644 --- a/Mk/bsd.sanity.mk +++ b/Mk/bsd.sanity.mk @@ -47,6 +47,10 @@ DEV_ERROR+= "USE_KDELIBS_VER is unsupported" DEV_ERROR+= "USE_QT_VER is unsupported" .endif +.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN) +DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead" +.endif + .if !empty(LIB_DEPENDS:M*/../*) DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency" .endif |