Mention that it is now up to the porter to decide when to use the DATADIR
PLIST_SUB in GNOMENG.
This commit is contained in:
parent
40d12843c0
commit
86c6d66afb
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=14258
1 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../..">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.21 2002/08/22 01:07:53 marcus Exp $">
|
||||
<!ENTITY date "$FreeBSD: www/en/gnome/docs/porting.sgml,v 1.22 2002/08/25 05:56:54 marcus Exp $">
|
||||
<!ENTITY title "FreeBSD GNOME Project: How To Make a Port">
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||
|
@ -228,11 +228,13 @@ WANT_GNOME= yes
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mlibpanel}!=""
|
||||
USE_GNOME+= libpanel
|
||||
USE_GNOME+= gnomeprefix libpanel
|
||||
CONFIGURE_ARGS+= --with-gnome
|
||||
PKGNAMESUFFIX= -gnome
|
||||
PLIST_SUB= DATADIR="share/gnome"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gnome
|
||||
PLIST_SUB= DATADIR="share"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -253,7 +255,12 @@ CONFIGURE_ARGS+= --without-gnome
|
|||
automatically adjusted by the proper <tt>USE_*</tt> macro.
|
||||
In GNOMENG, it is up to the individual porter to do this.
|
||||
Our example port appends <tt>-gnome</tt> to the port name
|
||||
to indicate it has been built with GNOME support.
|
||||
to indicate it has been built with GNOME support. The same is
|
||||
true for the <tt>DATADIR</tt> <tt>PLIST_SUB</tt>. In GNOMENG,
|
||||
the individual porter must decide when do the <tt>DATADIR</tt>
|
||||
substitution. A good rule of thumb is to add the <tt>DATADIR</tt>
|
||||
<tt>PLIST_SUB</tt> when using the <tt>gnomeprefix</tt>
|
||||
component.
|
||||
</p>
|
||||
|
||||
<p>To enforce use of optional GNOME dependencies no matter what,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue