diff options
author | jlam <jlam> | 2003-07-30 10:31:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-07-30 10:31:20 +0000 |
commit | ef3e9ee79dda83618647cafab104456fa286d2d8 (patch) | |
tree | 904103feb710eeeb1757abd27d334238627104a1 | |
parent | 6f6d498efc22b461d79e3d566d71351056464e0e (diff) | |
download | pkgsrc-ef3e9ee79dda83618647cafab104456fa286d2d8.tar.gz |
If a HEADER file exists in the package directory, then assume it's meant
for the HEADER_EXTRA_TMPL variable.
-rw-r--r-- | mk/bsd.pkg.install.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 3ee014c195e..8d40a609be6 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.41 2003/07/30 10:27:05 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.42 2003/07/30 10:31:20 jlam Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -25,7 +25,11 @@ INSTALL_FILE= ${WRKDIR}/.INSTALL # install/deinstall logic. # _HEADER_TMPL?= ${.CURDIR}/../../mk/install/header +.if !defined(HEADER_EXTRA_TMPL) && exists(${.CURDIR}/HEADER) +HEADER_EXTRA_TMPL?= ${.CURDIR}/HEADER +.else HEADER_EXTRA_TMPL?= # empty +.endif .if !defined(DEINSTALL_EXTRA_TMPL) && exists(${.CURDIR}/DEINSTALL) DEINSTALL_EXTRA_TMPL?= ${.CURDIR}/DEINSTALL .else |