summaryrefslogtreecommitdiff
path: root/shells/zsh/Makefile.common
diff options
context:
space:
mode:
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