misc/jive: Stage support and unbreak on F10+
In addition to stage changes: * use LOCAL/ instead of MASTER_SITE_LOCAL and MASTER_SITE_SUBDIR * narrow CONFLICTS to please portlint * Fix flex issues for FreeBSD 10+ * removed unnecessary patch-aa by setting CC in MAKE_ARGS Approved by: staging blanket
This commit is contained in:
parent
3e96d44af6
commit
2853ffe4ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358362
@ -4,21 +4,18 @@
|
||||
PORTNAME= jive
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
ftp://nuxi.ucdavis.edu/pub/misc/
|
||||
MASTER_SITE_SUBDIR= obrien
|
||||
MASTER_SITES= LOCAL/obrien ftp://nuxi.ucdavis.edu/pub/misc/
|
||||
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
COMMENT= Filter that converts English text to Jive
|
||||
|
||||
CONFLICTS= filters-* talkfilters-*
|
||||
CONFLICTS= filters-2* talkfilters-2*
|
||||
|
||||
WRKSRC= ${WRKDIR}/jive
|
||||
MAN1= jive.1
|
||||
MAKE_ARGS+= CC=${CC:Q} CFLAGS=${CFLAGS:Q}
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jive ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/jive ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/jive.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- Makefile.orig Fri Apr 5 18:55:29 2002
|
||||
+++ Makefile Fri Apr 5 18:55:40 2002
|
||||
@@ -1,5 +1,5 @@
|
||||
-CC = gcc
|
||||
-CFLAGS = -O2 -fomit-frame-pointer
|
||||
+#CC = gcc
|
||||
+#CFLAGS = -O2 -fomit-frame-pointer
|
||||
LDFLAGS = -s
|
||||
LEX = flex
|
||||
LEXLIB = -lfl
|
11
misc/jive/files/patch-jive.l
Normal file
11
misc/jive/files/patch-jive.l
Normal file
@ -0,0 +1,11 @@
|
||||
--- jive.l.orig 1997-02-03 11:04:51.000000000 +0000
|
||||
+++ jive.l
|
||||
@@ -8,7 +8,7 @@ BW [ ]
|
||||
EW [ .,;!?]
|
||||
|
||||
%{
|
||||
-#define YY_DECL char * yylex YY_PROTO(( void ))
|
||||
+#define YY_DECL char * yylex ( void )
|
||||
char buf[128];
|
||||
%}
|
||||
|
11
misc/jive/files/patch-main.c
Normal file
11
misc/jive/files/patch-main.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- main.c.orig 1997-02-03 10:59:32.000000000 +0000
|
||||
+++ main.c
|
||||
@@ -7,7 +7,7 @@ char *yylex();
|
||||
int main()
|
||||
{
|
||||
char *line;
|
||||
- while(line = yylex()){
|
||||
+ while((line = yylex())){
|
||||
printf("%s", line);
|
||||
}
|
||||
return 0;
|
@ -1 +1,2 @@
|
||||
bin/jive
|
||||
man/man1/jive.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user