Bug 177916 - www/aria: Fix build
Summary: www/aria: Fix build
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-04-17 19:10 UTC by tkato432
Modified: 2013-04-30 01:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.08 KB, patch)
2013-04-17 19:10 UTC, tkato432
no flags Details | Diff
www_aria.diff (2.09 KB, patch)
2013-04-24 18:54 UTC, tkato432
no flags Details | Diff
www_aria.diff (2.07 KB, patch)
2013-04-25 19:25 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-04-17 19:10:02 UTC
- Fix build
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-17 19:11:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 tkato432 2013-04-24 18:54:30 UTC
Remake of the patch against current tree.
Comment 3 tkato432 2013-04-25 19:25:06 UTC
Remake of the patch against current tree.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2013-04-30 01:40:17 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-04-30 01:40:23 UTC
Author: miwi
Date: Tue Apr 30 00:40:14 2013
New Revision: 316859
URL: http://svnweb.freebsd.org/changeset/ports/316859

Log:
  - Unbreak build
  
  PR:		177916
  Submitted by:	Ports Fury

Modified:
  head/www/aria/Makefile

Modified: head/www/aria/Makefile
==============================================================================
--- head/www/aria/Makefile	Tue Apr 30 00:39:35 2013	(r316858)
+++ head/www/aria/Makefile	Tue Apr 30 00:40:14 2013	(r316859)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   aria
-# Date created:        30 March 2001
-# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
-#
+# Created by: Yukihiro Nakai <nakai@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	aria
 PORTVERSION=	1.0.0
@@ -14,25 +10,37 @@ MASTER_SITES=	SF/${PORTNAME}-rpm/Aria%20
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another download tool
 
-MAKE_JOBS_SAFE=  yes
-BROKEN=		fails to build
+LICENSE=	GPLv2 # (or later)
+
+OPTIONS_DEFINE=	NLS DOCS
 
 USE_BZIP2=	yes
-.if !defined(WITHOUT_NLS)
+USE_GNOME=	gtk12
+USE_OPENSSL=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	README README.euc
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
 USES+=		gettext
 PLIST_SUB+=	NLS=""
 .else
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
-USE_GNOME=	gtk12
-USE_OPENSSL=	yes
-USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
-PORTDOCS=	README README.euc
 
-CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT
-LDFLAGS+=	-L${LOCALBASE}/lib
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN=		Does not compile on ia64, powerpc, or sparc64: just hangs
+.endif
 
 post-extract:
 	@${RM} -f ${WRKSRC}/src/getopt*
@@ -49,17 +57,13 @@ post-patch:
 		${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} -e 's|"getopt.h"|<getopt.h>|g' \
 		${WRKSRC}/src/main.cc
+	@${REINPLACE_CMD} -e 's|\*infile|infile|g ; \
+		s|(gzFile \*)||' ${WRKSRC}/src/RetrieveHTTP.cc
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}
 	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile on ia64, powerpc, or sparc64: just hangs
-.endif
-
 .include <bsd.port.post.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"