mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix build on -current, and fix LICENSE and WWW.
This commit is contained in:
parent
05b00bce0c
commit
c987682a77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365030
@ -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
|
||||
|
||||
|
19
lang/picoc/files/patch-Makefile
Normal file
19
lang/picoc/files/patch-Makefile
Normal file
@ -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)
|
@ -2,4 +2,4 @@ PicoC is a very small C interpreter for scripting. It was originally written 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/
|
||||
|
Loading…
Reference in New Issue
Block a user