pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49877: sunpro.mk uses wrong variable syntax, $SUNWSPROBASE instead of ${SUNWSPROBASE}



>Number:         49877
>Category:       pkg
>Synopsis:       sunpro.mk uses wrong variable syntax, $SUNWSPROBASE instead of ${SUNWSPROBASE}
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 03 23:05:00 +0000 2015
>Originator:     Greg Onufer
>Release:        trunk
>Organization:
>Environment:
generic
>Description:
The check for the existence of the compiler directory always fails because it expands $S instead of ${SUNWSPROBASE}
>How-To-Repeat:

>Fix:
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index 1678c4a..ec56586 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -16,7 +16,7 @@ COMPILER_SUNPRO_MK=	defined
 .include "../../mk/bsd.prefs.mk"
 
 SUNWSPROBASE?=		/opt/SUNWspro
-.if !exists($SUNWSPROBASE)
+.if !exists(${SUNWSPROBASE})
 SUNWSPROBASE!=         /bin/ls -d /opt/solstudio*
 .endif



Home | Main Index | Thread Index | Old Index