summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-18 20:25:35 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-18 20:25:35 +0000
commit7f1790f2ef87ad8fe2819a8f821ad18c20a9c92d (patch)
treee377418bee31e5b3dd4e4e8d8de26e901dc2f357 /mk
parenta68c2bf7ddddeee16342736d8e267632800ce6eb (diff)
downloadpkgsrc-7f1790f2ef87ad8fe2819a8f821ad18c20a9c92d.tar.gz
Change SUBST_FILES.djbware assignment from = to +=, allowing it to be
used for other files.
Diffstat (limited to 'mk')
-rw-r--r--mk/djbware.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/djbware.mk b/mk/djbware.mk
index 776d03daa7f..790a34d12a4 100644
--- a/mk/djbware.mk
+++ b/mk/djbware.mk
@@ -1,4 +1,4 @@
-# $NetBSD: djbware.mk,v 1.12 2005/11/11 07:19:40 rillig Exp $
+# $NetBSD: djbware.mk,v 1.13 2005/12/18 20:25:35 joerg Exp $
#
# Makefile fragment for packages with djb-style build machinery
#
@@ -85,7 +85,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
.if !empty(PKG_OPTIONS:Mdjbware-errno-hack)
SUBST_CLASSES+= djbware
SUBST_STAGE.djbware= do-configure
-SUBST_FILES.djbware= error.h
+SUBST_FILES.djbware+= error.h
SUBST_SED.djbware= -e 's|^extern\ int\ errno\;|\#include \<errno.h\>|'
SUBST_MESSAGE.djbware= "Correcting definition of errno."
.endif