When CFLAGS are set in /etc/make.conf httping fails to build. Fix: Apply this patch in the httping directory and rebuild the port: patch -p1 < /path-to-patch/httping.patch How-To-Repeat: Set CFLAGS in /etc/make.conf like: CFLAGS= -O -pipe Build net/httping: /usr/ports/net/httping/> make install clean ===> Extracting for httping-1.2.5 => MD5 Checksum OK for httping-1.2.5.tgz. => SHA256 Checksum OK for httping-1.2.5.tgz. ===> Patching for httping-1.2.5 ===> Configuring for httping-1.2.5 ===> Building for httping-1.2.5 cc -O -pipe -c mem.c cc -O -pipe -c http.c cc -O -pipe -c io.c cc -O -pipe -c str.c cc -O -pipe -c error.c cc -O -pipe -c utils.c cc -O -pipe -c main.c main.c: In function `version': main.c:53: error: syntax error before "VERSION" main.c: In function `main': main.c:422: error: syntax error before "VERSION" *** Error code 1 Stop in /usr/ports/net/httping/work/httping-1.2.5. *** Error code 1 Stop in /usr/ports/net/httping.
Responsible Changed From-To: freebsd-ports-bugs->ehaupt Over to maintainer
ehaupt 2007-09-25 22:01:43 UTC FreeBSD ports repository Modified files: net/httping Makefile Added files: net/httping/files patch-Makefile Log: Fix a compilation error when CFLAGS are set in /etc/make.conf. PR: 116631 Submitted by: Beat Gaetzi <beat@chruetertee.ch> Revision Changes Path 1.15 +0 -5 ports/net/httping/Makefile 1.1 +13 -0 ports/net/httping/files/patch-Makefile (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!