Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 13:18:21 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r341034 - in branches/2014Q1/x11-toolkits/viewklass: . files
Message-ID:  <201401251318.s0PDIL55016114@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sat Jan 25 13:18:21 2014
New Revision: 341034
URL: http://svnweb.freebsd.org/changeset/ports/341034
QAT: https://qat.redports.org/buildarchive/r341034/

Log:
  MFH: r340305
  
  - Fix build with clang
  
  PR:		185708
  Submitted by:	ports fury

Added:
  branches/2014Q1/x11-toolkits/viewklass/files/
     - copied from r340305, head/x11-toolkits/viewklass/files/
Modified:
  branches/2014Q1/x11-toolkits/viewklass/Makefile   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/x11-toolkits/viewklass/Makefile
==============================================================================
--- branches/2014Q1/x11-toolkits/viewklass/Makefile	Sat Jan 25 13:16:31 2014	(r341033)
+++ branches/2014Q1/x11-toolkits/viewklass/Makefile	Sat Jan 25 13:18:21 2014	(r341034)
@@ -11,15 +11,16 @@ DISTNAME=	ViewKlass-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ Framework for Motif
 
-BUILD_DEPENDS=	imake:${PORTSDIR}/devel/imake
+LICENSE=	LGPL20 # (or later)
 
-USES=		motif
-GNU_CONFIGURE=	yes
+USES=		imake:env motif
+USE_AUTOTOOLS=	autoconf213
 
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
-		s/^CXXFLAGS=/CXXFLAGS+=/g ; \
-		s/-g -Wall//g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e \
+		'/^CFLAGS=/s|-g|@CFLAGS@| ; \
+		 /^CXXFLAGS=/s|-g|@CXXFLAGS@| ; \
+		 s| $$(exec_prefix)| $$(DESTDIR)$$(exec_prefix)| ; \
+		 s| $$(prefix)| $$(DESTDIR)$$(prefix)|' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>



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