Summary: | misc/wmfirew: Fix build with clang | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tkato432 | ||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
tkato432
2013-01-05 18:10:07 UTC
Responsible Changed From-To: freebsd-ports-bugs->araujo I'll take it. State Changed From-To: open->closed take - Responsible Changed From-To: araujo->miwi committed 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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |