Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 12:45:02 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307961 - head/x11-wm/flwm
Message-ID:  <201211291245.qATCj2uZ077364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Nov 29 12:45:01 2012
New Revision: 307961
URL: http://svnweb.freebsd.org/changeset/ports/307961

Log:
  - Fix configure script to work with clang
  - Trim Makefile header
  
  Feature safe:	yes

Modified:
  head/x11-wm/flwm/Makefile   (contents, props changed)

Modified: head/x11-wm/flwm/Makefile
==============================================================================
--- head/x11-wm/flwm/Makefile	Thu Nov 29 12:39:20 2012	(r307960)
+++ head/x11-wm/flwm/Makefile	Thu Nov 29 12:45:01 2012	(r307961)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   	flwm
-# Date created:				12 February 1999
-# Whom:                			Dima Sivachenko <dima@chg.ru>
-#
+# Created by: Dima Sivachenko <dima@chg.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	flwm
 PORTVERSION=	1.02
@@ -26,7 +22,7 @@ MAN1=		flwm.1
 PLIST_FILES=	bin/flwm
 
 post-patch:
-	${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g; /^main/s|^|int |g' ${WRKSRC}/${CONFIGURE_SCRIPT}
 	${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211291245.qATCj2uZ077364>