From 07d4b01b075ff993a99585667d0104c9cefdb7f0 Mon Sep 17 00:00:00 2001 From: bcallah Date: Mon, 22 Jun 2015 01:22:52 +0000 Subject: [PATCH] uget can be built with base gcc again now that it supports typedef redefinitions. --- www/uget/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/www/uget/Makefile b/www/uget/Makefile index f670cb07f60..70d2305fcd8 100644 --- a/www/uget/Makefile +++ b/www/uget/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2015/05/24 17:18:45 bcallah Exp $ +# $OpenBSD: Makefile,v 1.4 2015/06/22 01:22:52 bcallah Exp $ COMMENT = lightweight graphical download manager DISTNAME = uget-2.0 +REVISION = 0 CATEGORIES = www net x11 HOMEPAGE = http://ugetdm.com/ @@ -18,10 +19,7 @@ WANTLIB += pangoft2-1.0 pthread ssl z MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=urlget/} MODULES = devel/gettext \ - lang/clang \ textproc/intltool -MODCLANG_ARCHS = * -MODCLANG_LANGS = c LIB_DEPENDS = devel/libnotify \ multimedia/gstreamer1/core \ @@ -29,16 +27,19 @@ LIB_DEPENDS = devel/libnotify \ x11/gtk+3 RUN_DEPENDS = devel/desktop-file-utils \ - www/aria2 \ x11/gtk+3,-guic +# You should be using aria2 if the arch has it. +.if ${MACHINE_ARCH} != "mips64el" && ${MACHINE_ARCH} != "mips64" +RUN_DEPENDS += www/aria2 +.endif + CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" # BSD make doesn't install the localization files. USE_GMAKE = Yes -MAKE_FLAGS = CFLAGS="${CFLAGS} -std=c11" pre-configure: ${SUBST_CMD} ${WRKSRC}/uget/UgetAria2.c