1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Fix the build with GCC 4.2 [1]

- Kill EOF whitespace in pkg-descr
- Utilize PORTDOCS macro in pkg-plist
- Miscellaneous cleanups

Reported by:	pointyhat (logs) [1]
This commit is contained in:
Alexey Dokuchaev 2007-07-04 16:19:56 +00:00
parent 9ea9260458
commit 8585fce32b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194920
3 changed files with 15 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: icmpchat
# New ports collection makefile for: ICMP-Chat
# Date created: 8 October 2002
# Whom: mwest@uct.ac.za
# Whom: Matthew West <mwest@uct.ac.za>
#
# $FreeBSD$
#
@ -12,17 +12,15 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= icmpchat
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple console-based chat that uses the ICMP protocol
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
COMMENT= Simple console-based chat that uses ICMP protocol
pre-patch:
@${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|;\
s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile
# Fix for GCC 4.2
@${REINPLACE_CMD} -e \
's|((uint8_t \*) data) +=|data += sizeof(uint8_t *) *|' \
${WRKSRC}/sha256.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icmpchat ${PREFIX}/bin
@ -35,4 +33,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Todo ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,7 +1,4 @@
ICMP-Chat is a simple console-based chat that uses ICMP packets for
communication. The data is encrypted using the Rijndael-256 algorithm.
communication. The data is encrypted using the Rijndael-256 algorithm.
WWW: http://icmpchat.sourceforge.net/
--
mwest@uct.ac.za

View File

@ -1,7 +1,7 @@
bin/icmpchat
%%PORTDOCS%%share/doc/icmpchat/Changes
%%PORTDOCS%%share/doc/icmpchat/License
%%PORTDOCS%%share/doc/icmpchat/Problems
%%PORTDOCS%%share/doc/icmpchat/Readme
%%PORTDOCS%%share/doc/icmpchat/Todo
%%PORTDOCS%%@dirrm share/doc/icmpchat
%%PORTDOCS%%%%DOCSDIR%%/Changes
%%PORTDOCS%%%%DOCSDIR%%/License
%%PORTDOCS%%%%DOCSDIR%%/Problems
%%PORTDOCS%%%%DOCSDIR%%/Readme
%%PORTDOCS%%%%DOCSDIR%%/Todo
%%PORTDOCS%%@dirrm %%DOCSDIR%%