Date: Mon, 14 May 2018 21:03:47 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469968 - in head/lang/ptoc: . files Message-ID: <201805142103.w4EL3lSe064970@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: osa Date: Mon May 14 21:03:47 2018 New Revision: 469968 URL: https://svnweb.freebsd.org/changeset/ports/469968 Log: Fix build with clang 6.0. Bump PORTREVISION. Modified: head/lang/ptoc/Makefile head/lang/ptoc/files/patch-makefile.bsd Modified: head/lang/ptoc/Makefile ============================================================================== --- head/lang/ptoc/Makefile Mon May 14 21:01:51 2018 (r469967) +++ head/lang/ptoc/Makefile Mon May 14 21:03:47 2018 (r469968) @@ -3,6 +3,7 @@ PORTNAME= ptoc PORTVERSION= 3.58 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.garret.ru/ Modified: head/lang/ptoc/files/patch-makefile.bsd ============================================================================== --- head/lang/ptoc/files/patch-makefile.bsd Mon May 14 21:01:51 2018 (r469967) +++ head/lang/ptoc/files/patch-makefile.bsd Mon May 14 21:03:47 2018 (r469968) @@ -1,5 +1,41 @@ ---- makefile.bsd.orig Sat Nov 7 10:10:50 1998 -+++ makefile.bsd Sat Oct 21 05:54:55 2000 +--- makefile.bsd.orig 1998-11-06 21:10:50.000000000 -0500 ++++ makefile.bsd 2018-05-14 12:46:15.288108000 -0400 +@@ -10,21 +10,21 @@ + # + # C/C++ compiler + # +-CC?= gcc +-CXX?= g++ ++CC?= cc ++CXX?= c++ + + # + # C/C++ flags + # +-CFLAGS?= -O5 -g -Wall -c +-CXXFLAGS?= -O5 -g -Wall -c ++CFLAGS?= -Wall -c ++CXXFLAGS= -Wall -c -std=c++98 + #CFLAGS= -fno-exceptions -O5 -g -Wall -c + #CXXFLAGS= -fno-exceptions -O5 -g -Wall -c + + # + # X Window System directory + # +-X11BASE?= /usr/X11R6 ++X11BASE?= /usr/local + + # + # Local packages directory +@@ -94,7 +94,7 @@ + $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< + + .c.o : +- $(CC) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< ++ $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< + + # + # Custom targets. @@ -131,7 +131,7 @@ $(LD) $(LDFLAGS) -o $@ $(OBJS)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805142103.w4EL3lSe064970>