Bug 41292 - Port apache-2.0.39_7 port does not copile with NOPORTDOCS
Summary: Port apache-2.0.39_7 port does not copile with NOPORTDOCS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hye-Shik Chang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-03 19:20 UTC by Oliver Eikemeier
Modified: 2002-08-04 18:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Eikemeier 2002-08-03 19:20:01 UTC
The Apache 2 port does not copile with NOPORTDOCS=true in /etc/make.conf

The error message (with make -dA) is:

..
(cd /usr/ports/www/apache2/work/httpd-2.0.39; /usr/bin/env DESTDIR= EXPR_COMPAT=yes -DNOPORTDOCS PORTOBJFORMAT=elf PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O-pipe -march=k6" CXXFLAGS=" -O -pipe -march=k6" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"  BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" make -f Makefile  all)
env: -DNOPORTDOCS: No such file or directory
*** Error code 127

Fix: 

change

.if defined(NOPORTDOCS)
MAKE_ENV+=      NOPORTDOCS=yes
.endif

to

.if defined(NOPORTDOCS)
MAKE_ENV+=      NOPORTDOCS=yes
.endif

in /usr/ports/www/apache2/Makefile
How-To-Repeat: cd /usr/ports/www/apache2
make NOPORTDOCS=true
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2002-08-04 18:33:11 UTC
Responsible Changed
From-To: freebsd-ports->perky

over to the maintainer
Comment 2 Hye-Shik Chang freebsd_committer freebsd_triage 2002-08-04 18:46:00 UTC
State Changed
From-To: open->closed

Fixed. Thank you very much!