summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorcjep <cjep>2002-11-17 09:37:21 +0000
committercjep <cjep>2002-11-17 09:37:21 +0000
commit79ea365fc38ea4699d2c43ac202d06de8ba65e8e (patch)
tree8e01449e57c3536d9c8be678a5754c0293acc7aa /pkgtools
parent5c5d8bf63b13879973754362a6d2456f0df01a2c (diff)
downloadpkgsrc-79ea365fc38ea4699d2c43ac202d06de8ba65e8e.tar.gz
Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit)
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/digest/Makefile6
-rw-r--r--pkgtools/pkg_install/Makefile9
2 files changed, 11 insertions, 4 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile
index 5ba2c40395b..42adf929430 100644
--- a/pkgtools/digest/Makefile
+++ b/pkgtools/digest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2002/09/04 12:53:02 tron Exp $
+# $NetBSD: Makefile,v 1.29 2002/11/17 09:37:22 cjep Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
@@ -32,10 +32,10 @@ MAKE_ENV+= VERSION="${VERSION}"
.if ${OPSYS} == "SunOS"
MAKEFLAGS+= NETBSD_COMPATIBLE=YES
MANINSTALL=
-.elif ${OPSYS} == "Linux"
+.elif ${OPSYS} == "Linux" || ${OPSYS} == "OpenBSD"
CPPFLAGS+=-D__COPYRIGHT\(x\)=\; -D__RCSID\(x\)=\;
.endif
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "OpenBSD"
PLIST= ${WRKSRC}/.PLIST
post-install:
${GREP} -v '^man/cat' ${PKGDIR}/PLIST > ${PLIST}
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 9a18f3a2ee7..4f272a5e3ce 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2002/09/05 09:20:14 agc Exp $
+# $NetBSD: Makefile,v 1.54 2002/11/17 09:37:21 cjep Exp $
# Note to package maintainers:
# To update the distfile of this pkg, cd to /usr/src/usr.sbin,
@@ -45,6 +45,13 @@ MAKE_ENV+= MANINSTALL= MKMAN=no NOMAN=YES
MAKE_ENV+= ZOULARISBASE=${ZOULARISBASE}
.endif
+.if ${OPSYS} == "OpenBSD"
+CPPFLAGS+= -D__COPYRIGHT\(x\)=\; -D__RCSID\(x\)=\;
+MAKE_ENV+= BINGRP=${BINGRP} BINOWN=${BINOWN}
+MAKE_ENV+= BINDIR=${PKG_TOOLS_BIN}
+MAKE_ENV+= MANDIR=${PKG_TOOLS_BIN}/../man
+.endif
+
.if ${OPSYS} == "Linux"
MAKE_ENV+= DIGESTDIR=${.CURDIR}/../digest/files
CPPFLAGS+= -I${DIGESTDIR} -I${DIGESTDIR}