mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
net-mgmt/pnp: Fix PDF option
Options helpers are ineffective when set after bsd.port.options.mk. Move them before that point. Reported by: tobik (in D19553)
This commit is contained in:
parent
3038d98e4e
commit
35cecba4ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495763
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pnp
|
||||
PORTVERSION= 0.6.26
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= SF/pnp4nagios/PNP-0.6
|
||||
DISTNAME= pnp4nagios-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
@ -24,6 +24,8 @@ OPTIONS_DEFINE= PDF EXAMPLES
|
||||
OPTIONS_DEFAULT= PDF
|
||||
PDF_DESC= Use built-in fpdf library to produce PDF views
|
||||
|
||||
PDF_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-disable-pdf
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
USE_PHP= gd iconv json pcre session simplexml sockets xml zlib
|
||||
@ -42,8 +44,6 @@ PNP_SPOOL= ${PNP_STATE}/perfspool
|
||||
PNP_URL?= ${NAGIOSHTMURL}/pnp
|
||||
FPDF_DIR?= share/fpdf
|
||||
|
||||
PDF_EXTRA_PATCHES_OFF+= ${FILESDIR}/extra-patch-disable-pdf
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= \
|
||||
--sysconfdir=${ETCDIR} \
|
||||
|
Loading…
Reference in New Issue
Block a user