mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Honor NOPORTDOCS env var
- No PORTREVISION bump PR: ports/165670 Submitted by: scheidell (me) Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer), gabor (mentor, implicit)
This commit is contained in:
parent
9dcea33a99
commit
5bcfde2b25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292654
@ -22,7 +22,7 @@ USE_GMAKE= yes
|
|||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --disable-dependency-tracking \
|
CONFIGURE_ARGS= --disable-dependency-tracking \
|
||||||
--enable-drivedb --enable-sample \
|
--enable-drivedb --enable-sample \
|
||||||
--with-docdir=${DOCSDIR} --with-initscriptdir=${PREFIX}/etc/rc.d
|
--with-initscriptdir=${PREFIX}/etc/rc.d
|
||||||
|
|
||||||
SUB_FILES= pkg-message smart
|
SUB_FILES= pkg-message smart
|
||||||
USE_RC_SUBR= smartd
|
USE_RC_SUBR= smartd
|
||||||
@ -32,6 +32,12 @@ MAN8= smartd.8 smartctl.8
|
|||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
|
.if defined(NOPORTDOCS)
|
||||||
|
CONFIGURE_ARGS+= --without-docdir --without-exampledir
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
CFLAGS:= ${CFLAGS:S/-O2/-O/} -Wno-write-strings
|
CFLAGS:= ${CFLAGS:S/-O2/-O/} -Wno-write-strings
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
Loading…
Reference in New Issue
Block a user