Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 19:44:14 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365030 - in head/lang/picoc: . files
Message-ID:  <201408151944.s7FJiELB049902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Aug 15 19:44:13 2014
New Revision: 365030
URL: http://svnweb.freebsd.org/changeset/ports/365030
QAT: https://qat.redports.org/buildarchive/r365030/

Log:
  Fix build on -current, and fix LICENSE and WWW.

Added:
  head/lang/picoc/files/patch-Makefile   (contents, props changed)
Modified:
  head/lang/picoc/Makefile
  head/lang/picoc/pkg-descr

Modified: head/lang/picoc/Makefile
==============================================================================
--- head/lang/picoc/Makefile	Fri Aug 15 19:39:28 2014	(r365029)
+++ head/lang/picoc/Makefile	Fri Aug 15 19:44:13 2014	(r365030)
@@ -8,7 +8,7 @@ MASTER_SITES=	GOOGLE_CODE
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Very small C interpreter for scripting
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
 USES=		gmake readline tar:bzip2
 
@@ -16,9 +16,6 @@ PLIST_FILES=	bin/picoc
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
-CFLAGS+=	-DUNIX_HOST
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/picoc ${STAGEDIR}${PREFIX}/bin/picoc
 

Added: head/lang/picoc/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/picoc/files/patch-Makefile	Fri Aug 15 19:44:13 2014	(r365030)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2014-08-15 15:40:43.000000000 -0400
++++ Makefile	2014-08-15 15:41:37.000000000 -0400
+@@ -1,5 +1,5 @@
+-CC=gcc
+-CFLAGS=-Wall -pedantic -g -DUNIX_HOST
++CC?=gcc
++CFLAGS+=-Wall -pedantic -g -DUNIX_HOST
+ LIBS=-lm -lreadline
+ 
+ TARGET	= picoc
+@@ -14,7 +14,7 @@
+ all: $(TARGET)
+ 
+ $(TARGET): $(OBJS)
+-	$(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
++	$(CC) $(CFLAGS) ${CPPFLAGS} -o $(TARGET) $(OBJS) ${LDFLAGS} $(LIBS)
+ 
+ test:	all
+ 	(cd tests; make test)

Modified: head/lang/picoc/pkg-descr
==============================================================================
--- head/lang/picoc/pkg-descr	Fri Aug 15 19:39:28 2014	(r365029)
+++ head/lang/picoc/pkg-descr	Fri Aug 15 19:44:13 2014	(r365030)
@@ -2,4 +2,4 @@ PicoC is a very small C interpreter for 
 scripting a UAV's on-board flight system and it's also very suitable for other
 robotic, embedded and non-embedded applications too. 
 
-WWW:	http://code.google.com/p/picoc/
+WWW: http://code.google.com/p/picoc/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408151944.s7FJiELB049902>