ports/133254: [bsd.fpc.mk] don't display bogus message for fpc-using ports

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Mar 31 22:50:02 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list