FULLPKGNAME *is* expanded correctly, but it's not what we want here.
OK with you Mike?


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/bacula/Makefile,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile
--- Makefile    9 Jul 2012 18:40:58 -0000       1.47
+++ Makefile    16 Jul 2012 11:24:39 -0000
@@ -7,6 +7,7 @@ COMMENT-server=         network backup solution
 COMMENT-bat=           network backup solution (gui-client)
 
 V=                     5.2.10
+REVISION-main=         0
 DISTNAME=              bacula-$V
 FULLPKGNAME-main=      bacula-client-$V
 FULLPKGPATH-main=      ${PKGPATH},-main
@@ -41,7 +42,7 @@ PERMIT_DISTFILES_FTP= Yes
 
 BACULACONF=            /etc/bacula
 BACULASTATE=           /var/bacula
-SUBST_VARS=            BACULACONF BACULASTATE TRUEPREFIX
+SUBST_VARS=            BACULACONF BACULASTATE TRUEPREFIX FULLPKGNAME-main
 
 CONFIGURE_STYLE=       simple
 USE_GMAKE=             yes
Index: pkg/README-main
===================================================================
RCS file: /cvs/ports/sysutils/bacula/pkg/README-main,v
retrieving revision 1.1
diff -u -p -r1.1 README-main
--- pkg/README-main     17 Nov 2011 23:45:56 -0000      1.1
+++ pkg/README-main     16 Jul 2012 11:24:39 -0000
@@ -1,9 +1,9 @@
 $OpenBSD: README-main,v 1.1 2011/11/17 23:45:56 ajacoutot Exp $
 
 +-----------------------------------------------------------------------
-| Running ${FULLPKGNAME} on OpenBSD
+| Running ${FULLPKGNAME-main} on OpenBSD
 +-----------------------------------------------------------------------
 
 To be able to interact with the Bacula Director as non-root, the user
 needs to be part of the '_bacula' group so that the
-{BACULACONF}/bconsole.conf and {BACULACONF}/bat.conf files can be read.
+${BACULACONF}/bconsole.conf and ${BACULACONF}/bat.conf files can be read.


On 2012/07/14 13:50, Jiri B wrote:
> Hi,
> 
> there's some issue in REAME file for bacula-client.
> 
> As you can see I don't have any pgsql flavor of bacula, still it
> is inside README file for bacula-client.
> 
> I don't know how it is possible, maybe some issue inside Makefile?
> 
> $ echo /var/db/pkg/bacula-*                                   
> /var/db/pkg/bacula-client-5.2.6p3 /var/db/pkg/bacula-server-5.2.6p5-sqlite3 
> /var/db/pkg/bacula-web-5.2.6
> 
> $ cat /usr/local/share/doc/pkg-readmes/bacula-client-5.2.6p3  
> $OpenBSD: README-main,v 1.1 2011/11/17 23:45:56 ajacoutot Exp $
> 
> +-----------------------------------------------------------------------
> | Running bacula-5.2.6-pgsql on OpenBSD
> +-----------------------------------------------------------------------
> 
> To be able to interact with the Bacula Director as non-root, the user
> needs to be part of the '_bacula' group so that the
> {BACULACONF}/bconsole.conf and {BACULACONF}/bat.conf files can be read.
> 
> $ egrep 'FULLPKG(PATH|NAME)' ../Makefile  
> FULLPKGNAME-main=       bacula-client-$V
> FULLPKGPATH-main=       ${PKGPATH},-main
> FULLPKGNAME-bat=        bacula-bat-$V
> FULLPKGPATH-bat=        ${PKGPATH},-bat
> 
> jirib
> 

Reply via email to