diff options
author | hiramatsu <hiramatsu@pkgsrc.org> | 2005-08-07 20:18:07 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu@pkgsrc.org> | 2005-08-07 20:18:07 +0000 |
commit | d1cbf814501d6fff5c705a58ffd4b4e9ed545970 (patch) | |
tree | bc4a604cf8a6e14df4ae2da1264a52c6c991328d /shells/zsh/Makefile.common | |
parent | ec56ea77fe7fbeccde9e66601c914693fa3449df (diff) | |
download | pkgsrc-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.common | 15 |
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 |