freebsd-ports/devel/cppcheck/files/patch-Makefile
Brendan Fabeny be538897b8 update to 1.52; don't build or install the manpage if
NOPORTDOCS is defined

Feature safe:	yes
2011-12-11 05:44:53 +00:00

23 lines
750 B
Text

--- Makefile.orig 2011-12-10 07:00:45.000000000 -0500
+++ Makefile 2011-12-10 23:10:57.000000000 -0500
@@ -31,17 +31,17 @@
endif
ifndef INCLUDE_FOR_CLI
- INCLUDE_FOR_CLI=-Ilib -Iexternals -Iexternals/tinyxml
+ INCLUDE_FOR_CLI=-Ilib -Iexternals
endif
ifndef INCLUDE_FOR_TEST
- INCLUDE_FOR_TEST=-Ilib -Icli -Iexternals -Iexternals/tinyxml
+ INCLUDE_FOR_TEST=-Ilib -Icli -Iexternals
endif
BIN=$(DESTDIR)$(PREFIX)/bin
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux
-DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+DB2MAN=${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
XP=xsltproc -''-nonet -''-param man.charmap.use.subset "0"
MAN_SOURCE=man/cppcheck.1.xml