Bug 175568 - ftp/wxdfast: Support CFLAGS/CXXFLAGS properly
Summary: ftp/wxdfast: Support CFLAGS/CXXFLAGS properly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 21:10 UTC by tkato432
Modified: 2013-02-08 08:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.77 KB, patch)
2013-01-25 21:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-01-25 21:10:01 UTC
- Support CFLAGS/CXXFLAGS properly
- Fix build on 8-stable or later
- Fix build with wxWidgets 2.8
- Add LICENSE
- Add MAKE_JOBS_SAFE
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-25 21:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

araujo@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-02-08 08:25:30 UTC
State Changed
From-To: open->closed
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-02-08 08:25:30 UTC
Responsible Changed
From-To: araujo->miwi

committed thx.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-02-08 08:25:39 UTC
Author: miwi
Date: Fri Feb  8 08:25:31 2013
New Revision: 311919
URL: http://svnweb.freebsd.org/changeset/ports/311919

Log:
  - Support CFLAGS/CXXFLAGS properly
  - Fix build on 8-stable or later
  - Fix build with wxWidgets 2.8
  - Add LICENSE
  - Add MAKE_JOBS_SAFE
  - Trim header
  PR:		175568
  Submitted by:	Ports Fury

Modified:
  head/ftp/wxdfast/Makefile   (contents, props changed)

Modified: head/ftp/wxdfast/Makefile
==============================================================================
--- head/ftp/wxdfast/Makefile	Fri Feb  8 08:24:18 2013	(r311918)
+++ head/ftp/wxdfast/Makefile	Fri Feb  8 08:25:31 2013	(r311919)
@@ -1,38 +1,39 @@
-# New ports collection makefile for:	wxdfast
-# Date created:				2006-11-07
-# Whom:					alepulver
-#
+# Created by: alepulver
 # $FreeBSD$
-#
 
 PORTNAME=	wxdfast
 PORTVERSION=	0.6.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	ftp www
 MASTER_SITES=	SF/dfast/wxDownload%20Fast/${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A great multithreaded and multi-platform download manager
+COMMENT=	Multithread and multi-platform download manager
 
-USE_GETTEXT=	yes
-USE_WX=		2.6
+LICENSE=	GPLv2
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_WX=		2.6+
 WX_CONF_ARGS=	relative
 WX_UNICODE=	yes
-GNU_CONFIGURE=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_GETTEXT=	yes
+USE_AUTOTOOLS=	aclocal automake autoconf libtoolize
+ACLOCAL_ARGS=	-I ${LOCALBASE}/share/locale
+AUTOMAKE_ARGS=	--add-missing --copy --force-missing --foreign
+LIBTOOLIZE_ARGS=--copy --force
+CONFIGURE_ENV=	WXRC="${WXRC_CMD}"
+MAKE_JOBS_SAFE=	yes
 
 MAN1=		wxdfast.1
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|wxrc|${WXRC_CMD:T}|' \
-		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-	@${REINPLACE_CMD} -e 's|pt_BR||' ${WRKSRC}/man/Makefile.in
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000 && ${ARCH} == i386
-BROKEN=	Does not compile
-.endif
+	@${REINPLACE_CMD} -e \
+		's|pt_BR||' ${WRKSRC}/man/Makefile.am
+	@${REINPLACE_CMD} -e \
+		's|^CFLAGS |AM_CFLAGS | ; \
+		 s|^CXXFLAGS |AM_CXXFLAGS | ; \
+		 s|-O2 ||' ${WRKSRC}/src/Makefile.am
 
-.include <bsd.port.post.mk>
+.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"