Date: Thu, 7 Feb 2013 14:49:27 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311859 - head/misc/wmfirew Message-ID: <201302071449.r17EnRMw088153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@regency.nsu.ru> -# +# Created by: Alexey Dokuchaev <danfe@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302071449.r17EnRMw088153>