mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Sometimes patches for PostgreSQL touch its configure script. And the logics inside current Makefiles for the documentation makes the manual pages (and other stuff) to be dependent of the timestamp of the top-level configure file. This triggers the rebuild of the manual pages, but since some additional XML-related tools are needed, this rebuild can fail. PR: 159844 Approved by: maintainer timeout (1 month) Feature safe: yes
17 lines
647 B
Text
17 lines
647 B
Text
Manual pages are already present in the PostgreSQL tarball, so we avoid
|
|
messing with timestamp: it depends on postgres.xml that, in turn,
|
|
depends on almost all SGML files, most notably, version.sgml. And the
|
|
latter depends on the configure in the top-level directory, so when
|
|
we patch it, build system wants to regenerate manual pages.
|
|
|
|
--- doc/src/sgml/Makefile.orig 2011-09-13 23:42:58.508672251 +0400
|
|
+++ doc/src/sgml/Makefile 2011-09-13 23:43:01.676668807 +0400
|
|
@@ -75,8 +75,6 @@
|
|
## Man pages
|
|
##
|
|
|
|
-man distprep-man: man-stamp
|
|
-
|
|
man-stamp: stylesheet-man.xsl postgres.xml
|
|
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^
|
|
touch $@
|