svn commit: r365030 - in head/lang/picoc: . files
Adam Weinberger
adamw at FreeBSD.org
Fri Aug 15 19:44:15 UTC 2014
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 at 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/
More information about the svn-ports-all
mailing list