Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Apr 2009 02:43:42 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/133254: [bsd.fpc.mk] don't display bogus message for fpc-using ports
Message-ID:  <20090331224342.D52DF10883C@hades.panopticon>
Resent-Message-ID: <200903312250.n2VMo1KW088457@freefall.freebsd.org>

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

>Number:         133254
>Category:       ports
>Synopsis:       [bsd.fpc.mk] don't display bogus message for fpc-using ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 31 22:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Mar 21 18:50:30 MSK 2009 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
When building ports dependent on fpc (but not fpc units), bogus message is displayed:

---
# cd /usr/ports/games/hedgewars && make
#################################################################

 The following freepascal unit will be installed in your system: 

 * 			       

#################################################################
===>  Extracting for hedgewars-0.9.9_1
---

>How-To-Repeat:
cd /usr/ports/games/hedgewars && make
>Fix:

--- bsd.fpc.mk.patch begins here ---
Index: bsd.fpc.mk
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/Mk/bsd.fpc.mk,v
retrieving revision 1.6
diff -u -r1.6 bsd.fpc.mk
--- bsd.fpc.mk	19 Jan 2009 22:44:05 -0000	1.6
+++ bsd.fpc.mk	31 Mar 2009 22:37:31 -0000
@@ -47,6 +47,7 @@
 
 fpc-check-install:
 check-makevars::
+.if defined(UNITPREFIX) && defined(PKGNAMESUFFIX)
 	@${ECHO_CMD} "#################################################################"
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} " The following freepascal unit will be installed in your system: "
@@ -54,6 +55,7 @@
 	@${ECHO_CMD} " * ${UNITPREFIX}${PKGNAMESUFFIX:S/-//}			       "
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "#################################################################"
+.endif
 
 _FPC_ALL_UNITS=	aspell bfd cairo chm fcl-async fcl-base fcl-db fcl-fpcunit fcl-image \
 		fcl-json fcl-net fcl-passrc fcl-process fcl-registry fcl-web fcl-xml fftw \
--- bsd.fpc.mk.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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