Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 16:47:00 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329811 - head/graphics/sswf
Message-ID:  <201310081647.r98Gl0hF029527@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Oct  8 16:47:00 2013
New Revision: 329811
URL: http://svnweb.freebsd.org/changeset/ports/329811

Log:
  - Fix build on head with iconv in base
  - Remove leading article from COMMENT
  - Switch to new LIB_DEPENDS, OPTIONS
  - Add support for STAGEDIR

Modified:
  head/graphics/sswf/Makefile

Modified: head/graphics/sswf/Makefile
==============================================================================
--- head/graphics/sswf/Makefile	Tue Oct  8 16:41:24 2013	(r329810)
+++ head/graphics/sswf/Makefile	Tue Oct  8 16:47:00 2013	(r329811)
@@ -9,10 +9,10 @@ MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A library and script language tool to create Flash movies
+COMMENT=	Library and script language tool to create Flash movies
 
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		freetype.9:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -26,9 +26,17 @@ PLIST_SUB=	VERSION="${PORTVERSION}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.if !defined(WITH_DEBUG)
+OPTIONS_DEFINE=	DEBUG
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDEBUG}
 CONFIGURE_ARGS+=	--disable-debug --disable-yydebug
 .endif
 
-NO_STAGE=	yes
+post-configure:
+	@${REINPLACE_CMD} 's|ICONV_INPUT_CAST||' \
+		${WRKSRC}/src/lib/libsswf_tag_header.c++ \
+		${WRKSRC}/src/sswf/sswf_lexical.c++
+
 .include <bsd.port.mk>



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