From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 25 22:17:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99F5316CBA5 for ; Thu, 25 May 2006 22:10:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE37343D76 for ; Thu, 25 May 2006 22:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4PMAFKU084958 for ; Thu, 25 May 2006 22:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4PMAF1l084953; Thu, 25 May 2006 22:10:15 GMT (envelope-from gnats) Resent-Date: Thu, 25 May 2006 22:10:15 GMT Resent-Message-Id: <200605252210.k4PMAF1l084953@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shaun Amott Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5477F16C946 for ; Thu, 25 May 2006 21:58:39 +0000 (UTC) (envelope-from shaun@inerd.com) Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124]) by mx1.FreeBSD.org (Postfix) with SMTP id E706143D72 for ; Thu, 25 May 2006 21:58:37 +0000 (GMT) (envelope-from shaun@inerd.com) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03]) by dione.picobyte.net (Postfix) with ESMTP for ; Thu, 25 May 2006 22:58:35 +0100 (BST) Message-Id: <1148594316.5429@charon.picobyte.net> Date: Thu, 25 May 2006 22:58:36 +0100 From: Shaun Amott To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97935: [MAINTAINER UPDATE] www/quickie: 1.0 -> 1.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shaun Amott List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 22:17:20 -0000 >Number: 97935 >Category: ports >Synopsis: [MAINTAINER UPDATE] www/quickie: 1.0 -> 1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 25 22:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: >Description: - Update quickie to 1.1 - Fix build on 4.x Tinderbox tested on : 5.x (sparc64) Manually tested on : 6.x (i386), 4.x (i386) >How-To-Repeat: >Fix: --- quickie-1.1.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/quickie/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 17 May 2006 13:48:19 -0000 1.1 +++ Makefile 25 May 2006 21:51:59 -0000 @@ -6,7 +6,7 @@ # PORTNAME= quickie -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= www MASTER_SITES= http://${PORTNAME}.sourceforge.net/ \ http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ @@ -20,6 +20,8 @@ --sysconfdir=${PREFIX}/etc \ --localstatedir=${DATADIR} +CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include + MAN1= quickie-config.1 quickie_prime.1 quickie.1 quickie_svt.1 \ quickie_license.1 quickie_post_install.1 @@ -39,12 +41,18 @@ .include .if (${OSVERSION} < 500041) -BROKEN= does not compile on 4.x; needs a newer libc +LIB_DEPENDS+= gnugetopt.[1-9]:${PORTSDIR}/devel/libgnugetopt .endif post-patch: @${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/lib - @${REINPLACE_CMD} -e 's#var/[^ ]*\.man##g' ${WRKSRC}/Makefile.in + +post-configure: +.if (${OSVERSION} < 500041) + @${REINPLACE_CMD} -e 's#^\(LDFLAGS = .*\)#\1 -L${LOCALBASE}/lib#' \ + -e 's#^\(LIBS = .*\)#\1 -lgnugetopt#' \ + ${WRKSRC}/Makefile +.endif pre-install: @${MKDIR} ${DATADIR}/admin Index: distinfo =================================================================== RCS file: /home/ncvs/ports/www/quickie/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 17 May 2006 13:48:19 -0000 1.1 +++ distinfo 25 May 2006 21:51:59 -0000 @@ -1,6 +1,4 @@ -MD5 (quickie-1.0.tar.gz) = 5dca1346dfbe034d8e43061763b9fb92 -SHA256 (quickie-1.0.tar.gz) = cdf17e935852f3e9d5b6928bea71e7acaf40f5b6df8779595927b13cea1eb93f -SIZE (quickie-1.0.tar.gz) = 274016 -MD5 (quickie-1.0.pdf) = f9c2db25e11e0baf250d39bec0273e29 -SHA256 (quickie-1.0.pdf) = 2963b7cb55095f2970bcd9a1193bea31916f0ee219f64a9fb40fefb77a7873e4 -SIZE (quickie-1.0.pdf) = 110380 +MD5 (quickie-1.1.tar.gz) = 05d1c560d571c32fbb6b37ac9607b2c8 +SIZE (quickie-1.1.tar.gz) = 278045 +MD5 (quickie-1.1.pdf) = c09ecedf4e04905ca44297983df99297 +SIZE (quickie-1.1.pdf) = 76778 Index: files/patch-lib_arglex.cc =================================================================== RCS file: files/patch-lib_arglex.cc diff -N files/patch-lib_arglex.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib_arglex.cc 25 May 2006 21:51:59 -0000 @@ -0,0 +1,14 @@ +--- lib/arglex.cc.orig Sat May 20 23:56:52 2006 ++++ lib/arglex.cc Thu May 25 12:36:38 2006 +@@ -21,6 +21,11 @@ + + #include + ++#ifdef __FreeBSD__ ++#include ++#include ++#endif ++ + #include + #include + #include Index: files/patch-lib_quit.cc =================================================================== RCS file: files/patch-lib_quit.cc diff -N files/patch-lib_quit.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-lib_quit.cc 25 May 2006 21:51:59 -0000 @@ -0,0 +1,14 @@ +--- lib/quit.cc.orig Sat May 20 23:56:52 2006 ++++ lib/quit.cc Thu May 25 12:40:10 2006 +@@ -21,6 +21,11 @@ + + #pragma implementation "quit" + ++#ifdef __FreeBSD__ ++#include ++#include ++#endif ++ + #include + #include + #include Index: files/patch-quickie-config_main.cc =================================================================== RCS file: files/patch-quickie-config_main.cc diff -N files/patch-quickie-config_main.cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-quickie-config_main.cc 25 May 2006 21:51:59 -0000 @@ -0,0 +1,17 @@ +--- quickie-config/main.cc.orig Sat May 20 23:56:52 2006 ++++ quickie-config/main.cc Thu May 25 12:57:25 2006 +@@ -24,7 +24,13 @@ + #include + #include + #include +-#include ++ ++#ifdef __FreeBSD__ ++//# include ++//# if __FreeBSD_version < 500041 ++# include ++//# endif ++#endif + + #include + #include --- quickie-1.1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: