Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2000 10:09:08 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/23279: Update port: x11/blast (fix ports/22994)
Message-ID:  <200012041809.eB4I98Q59294@freefall.freebsd.org>
Resent-Message-ID: <200012041810.eB4IA4c59480@freefall.freebsd.org>

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

>Number:         23279
>Category:       ports
>Synopsis:       Update port: x11/blast (fix ports/22994)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 04 10:10:04 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS/X11BASE properly

This PR supersedes ports/22994.

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11/blast/Makefile x11/blast/Makefile
--- /usr/ports/x11/blast/Makefile	Fri Apr 14 18:57:00 2000
+++ x11/blast/Makefile	Mon Nov 20 21:03:24 2000
@@ -1,4 +1,4 @@
-# New ports collection makefile for:   blast-1.0
+# New ports collection makefile for:   blast
 # Date created:         9 Jul 1996
 # Whom:            searle
 #
@@ -11,19 +11,19 @@
 MASTER_SITES=	ftp://hpux.csc.liv.ac.uk/hpux/X11/Demos/blast-1.0/ \
 		ftp://ftp.univie.ac.at/systems/hpux/hpux/X11/Demos/blast-1.0/ \
 		ftp://hpftp.cict.fr/hpux/X11/Demos/blast-1.0/
-DISTNAME=	${PKGNAME}-ss-10.20
+DISTNAME=	${PORTNAME}-${PORTVERSION}-ss-10.20
 
 MAINTAINER=	jseger@FreeBSD.org
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_X_PREFIX=	yes
 MAN1=		blast.1
-WRKSRC=		${WRKDIR}/blast-1.0
 
 do-build:
-	cc $(WRKSRC)/blast.c -I${X11BASE}/include -O2 -L$(PREFIX)/lib -lX11 -lXext -o $(WRKSRC)/blast
+	${CC} ${CFLAGS} ${WRKSRC}/blast.c -I${X11BASE}/include -L${X11BASE}/lib -lX11 -lXext -o ${WRKSRC}/blast
 
 do-install:
-	$(INSTALL_PROGRAM) $(WRKSRC)/blast $(PREFIX)/bin/blast
-	$(INSTALL_MAN) $(WRKSRC)/blast.man $(PREFIX)/man/man1/blast.1
+	${INSTALL_PROGRAM} ${WRKSRC}/blast ${PREFIX}/bin/blast
+	${INSTALL_MAN} ${WRKSRC}/blast.man ${MANPREFIX}/man/man1/blast.1
 
 .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?200012041809.eB4I98Q59294>