pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Sync with reality: add a paragraph for *_OVERRIDE ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/764ab8cd38c7
branches:  trunk
changeset: 469356:764ab8cd38c7
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Feb 22 15:57:32 2004 +0000

description:
Sync with reality: add a paragraph for *_OVERRIDE variables and another one
for configure and make args/environment.  Ok'ed by agc@.

diffstat:

 doc/Makefile-example |  22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r 1853ae088a4a -r 764ab8cd38c7 doc/Makefile-example
--- a/doc/Makefile-example      Sun Feb 22 15:51:08 2004 +0000
+++ b/doc/Makefile-example      Sun Feb 22 15:57:32 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-example,v 1.4 2004/02/15 14:09:25 jlam Exp $
+# $NetBSD: Makefile-example,v 1.5 2004/02/22 15:57:32 jmmv Exp $
 
 # First paragraph - distfile and binary package data
 # DISTNAME PKGNAME PKGREVISION SVR4_PKGNAME CATEGORIES MASTER_SITES
@@ -27,11 +27,10 @@
 # Fourth paragraph - PKG_INSTALLATION_TYPES
 PKG_INSTALLATION_TYPES=        overwrite pkgviews      # needed for package views-ready packages
 
-# Fifth paragraph - all build definitions
-# WRKSRC, USE_BUILDLINK2, USE_BUILDLINK3, GNU_CONFIGURE, HAS_CONFIGURE,
-# USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA, USE_PERL5
-# INFO_FILES, DIST_SUBDIR, CONFIGURE_ENV, CONFIGURE_ARGS, MAKE_ENV
-# etc
+# Fifth paragraph - all build definitions that describe things used by
+# the package.  These include: WRKSRC, USE_BUILDLINK2, USE_BUILDLINK3,
+# GNU_CONFIGURE, HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD,
+# USE_JAVA, USE_PERL5, INFO_FILES, DIST_SUBDIR, etc.
 DIST_SUBDIR=           gmake
 GNU_CONFIGURE=         yes
 INFO_FILES=            make.info       # any info files, whitespace delimited
@@ -40,7 +39,16 @@
 USE_PKGLOCALEDIR=      yes
 WRKSRC=                        ${WRKDIR}/src
 
-# Sixth paragraph - different targets
+# Sixth paragraph - file overrides; these are all *_OVERRIDE variables
+LIBTOOL_OVERRIDE+=     build/unix/tools/libtool
+PKGCONFIG_OVERRIDE+=   glib-2.0.pc.in
+
+# Seventh paragraph - modification of configure and make environments
+CONFIGURE_ARGS+=       --disable-gtk-doc
+CONFIGURE_ENV+=                ac_cv_path_PYTHON="${PYTHONBIN}"
+MAKE_ENV+=             PKG_SYSCONFDIR="${PKG_SYSCONFDIR}"
+
+# Eighth paragraph - different targets
 # ALL_TARGET, INSTALL_TARGET, TEST_TARGET
 TEST_TARGET=           check
 



Home | Main Index | Thread Index | Old Index