svn commit: r311859 - head/misc/wmfirew
Martin Wilke
miwi at FreeBSD.org
Thu Feb 7 14:49:28 UTC 2013
Author: miwi
Date: Thu Feb 7 14:49:27 2013
New Revision: 311859
URL: http://svnweb.freebsd.org/changeset/ports/311859
Log:
- Fix build with clang
- Add LICENSE
- Trim header
PR: 175026
Submitted by: Ports Fury
Modified:
head/misc/wmfirew/Makefile (contents, props changed)
Modified: head/misc/wmfirew/Makefile
==============================================================================
--- head/misc/wmfirew/Makefile Thu Feb 7 14:48:17 2013 (r311858)
+++ head/misc/wmfirew/Makefile Thu Feb 7 14:49:27 2013 (r311859)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: wmfirew
-# Date created: 16 May 2002
-# Whom: Alexey Dokuchaev <danfe at regency.nsu.ru>
-#
+# Created by: Alexey Dokuchaev <danfe at regency.nsu.ru>
# $FreeBSD$
-#
PORTNAME= wmfirew
PORTVERSION= 0.20
@@ -19,7 +15,11 @@ WRKSRC= ${WRKDIR}/${PORTNAME}.app/${PORT
USE_GMAKE= yes
USE_XORG= xpm
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^void main|int main|' ${WRKSRC}/wmfirew.c
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list