Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 01:30:53 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65091: Update port: x11-toolkits/tk84
Message-ID:  <20040403013053.092d9720.tkato@prontomail.com>
Resent-Message-ID: <200404021640.i32GePEa033641@freefall.freebsd.org>

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

>Number:         65091
>Category:       ports
>Synopsis:       Update port: x11-toolkits/tk84
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 02 08:40:24 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- test -> TEST
- make -> MAKE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-toolkits/tk84/Makefile x11-toolkits/tk84/Makefile
--- /usr/ports/x11-toolkits/tk84/Makefile	Fri Apr  2 12:40:51 2004
+++ x11-toolkits/tk84/Makefile	Fri Apr  2 13:12:51 2004
@@ -346,16 +346,13 @@
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_THREADS)
+pre-everything::
+	@if ${TEST} -e "${NONEXISTENT}"; then ${ECHO_MSG} "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
 		${WRKSRC}/configure
 
-.endif
-
-pre-extract:
-	@if test -e "${NONEXISTENT}"; then echo "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi
-
 post-configure:
 	${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
 		${WRKSRC}/tkConfig.sh
@@ -367,7 +364,7 @@
 .endif
 
 test:
-	cd ${WRKSRC}; make test
+	cd ${WRKSRC}; ${MAKE} test
 	${ECHO_CMD} "package require Tk" | tclsh${TK_VER}
 	${ECHO_CMD} "load libtk${SHORT_TK_VER}.so" | tclsh${TK_VER}
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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