Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 10:50:59 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28816: Enhance build options for irc/scrollz
Message-ID:  <200107081450.f68EoxT51550@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         28816
>Category:       ports
>Synopsis:       Enhance build options for irc/scrollz
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 08:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #7: Mon Jun 11 10:15:45 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

- if BATCH isn't defined, compile and run "SZdist" -- sets various compile-
  time options
- set IS_INTERACTIVE, bump PORTREVISION

Suggested by:	"Juha K." <juha@febrile.org> (a scrollz maintainer)

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/irc/scrollz/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	2001/07/06 16:07:38	1.11
+++ Makefile	2001/07/08 14:50:30
@@ -7,6 +7,7 @@
 
 PORTNAME=	scrollz
 PORTVERSION=	1.8l
+PORTREVISION=	1
 CATEGORIES=	irc ipv6
 MASTER_SITES=	ftp://ftp.scrollz.com/pub/ScrollZ/source/ \
 		ftp://ftp.stealth.net/pub/mirrors/ftp.scrollz.com/pub/ScrollZ/source
@@ -14,6 +15,7 @@
 
 MAINTAINER=	petef@databits.net
 
+IS_INTERACTIVE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--enable-ipv6
 
@@ -23,5 +25,12 @@
 
 post-patch:
 	@${PERL} -pi -e 's!^IRCLIB =!IRCLIB ?=!' ${WRKSRC}/Makefile.in
+
+pre-build:
+.if !defined(BATCH)
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist \
+		SZdist.c)
+	@(cd $(WRKSRC); ./SZdist)
+.endif
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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