summaryrefslogtreecommitdiff
path: root/shells/zsh/Makefile.common
diff options
context:
space:
mode:
authorhiramatsu <hiramatsu@pkgsrc.org>2005-08-07 20:18:07 +0000
committerhiramatsu <hiramatsu@pkgsrc.org>2005-08-07 20:18:07 +0000
commitd1cbf814501d6fff5c705a58ffd4b4e9ed545970 (patch)
treebc4a604cf8a6e14df4ae2da1264a52c6c991328d /shells/zsh/Makefile.common
parentec56ea77fe7fbeccde9e66601c914693fa3449df (diff)
downloadpkgsrc-d1cbf814501d6fff5c705a58ffd4b4e9ed545970.tar.gz
Fix PLIST on OpenBSD.
- Changed IRIX, Interix, Linux and OpenBSD share PLIST.terminfo, instead of PLIST for each OS. - zsh doesn't build libzsh-4.2.5.so on OpenBSD, so PLIST.shlibs should be excluded.
Diffstat (limited to 'shells/zsh/Makefile.common')
-rw-r--r--shells/zsh/Makefile.common15
1 files changed, 8 insertions, 7 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common
index 4dcdcc23992..91374f2f78a 100644
--- a/shells/zsh/Makefile.common
+++ b/shells/zsh/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2005/07/29 18:32:18 jlam Exp $
+# $NetBSD: Makefile.common,v 1.26 2005/08/07 20:18:07 hiramatsu Exp $
DISTNAME= zsh-${ZSH_VERSION}
CATEGORIES= shells
@@ -54,14 +54,15 @@ LDFLAGS+= -static
PLIST_SRC= ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
. else
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/zsh
-. if exists(${PKGDIR}/PLIST.${OPSYS})
-PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
+
+. if ${OPSYS} == "Linux" || ${OPSYS} == "IRIX" || ${OPSYS} == "OpenBSD"
+PLIST_SRC+= ${PKGDIR}/PLIST.terminfo
+. elif ${OPSYS} == "Interix"
+PLIST_SRC+= ${PKGDIR}/PLIST.terminfo ${PKGDIR}/PLIST.shlibs
. else
-PLIST_SRC= # empty
-. endif
-. if ${OPSYS} != "IRIX" && ${OPSYS} != "Linux"
-PLIST_SRC+= ${PKGDIR}/PLIST.shlibs
+PLIST_SRC+= ${PKGDIR}/PLIST.shlibs
. endif
+
PLIST_SRC+= ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
. endif
.endif