summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-22 15:57:32 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-22 15:57:32 +0000
commitc0634b98181102a1161e8c66b27646f0407961d9 (patch)
treeac82536dbde08effb98ca39588e1a6db98ec6701 /doc
parentae83b34cc67d36f689ed93dd60c5f32381fe23f4 (diff)
downloadpkgsrc-c0634b98181102a1161e8c66b27646f0407961d9.tar.gz
Sync with reality: add a paragraph for *_OVERRIDE variables and another one
for configure and make args/environment. Ok'ed by agc@.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile-example22
1 files changed, 15 insertions, 7 deletions
diff --git a/doc/Makefile-example b/doc/Makefile-example
index eecb359b447..386f1529794 100644
--- a/doc/Makefile-example
+++ b/doc/Makefile-example
@@ -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 @@ LICENSE= hptools-license
# 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_BUILDLINK3= yes
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