summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-25 13:13:55 +0000
committertv <tv@pkgsrc.org>2005-01-25 13:13:55 +0000
commitf8de7ad95c129f43e592dc3ade80e98694a3d06b (patch)
treee4a5e4bf326642036812b3e9dd8a120d8da14522
parentf70b9a4716db6bb15aedf97fbfae7f9a9c3d134c (diff)
downloadpkgsrc-f8de7ad95c129f43e592dc3ade80e98694a3d06b.tar.gz
Pull in PLIST.${OPSYS} if existant.
-rw-r--r--shells/zsh/Makefile.common11
1 files changed, 8 insertions, 3 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common
index 9487126b23f..d9856cc3c39 100644
--- a/shells/zsh/Makefile.common
+++ b/shells/zsh/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2005/01/18 12:44:53 uebayasi Exp $
+# $NetBSD: Makefile.common,v 1.20 2005/01/25 13:13:55 tv Exp $
DISTNAME= zsh-${ZSH_VERSION}
CATEGORIES= shells
@@ -55,12 +55,17 @@ LDFLAGS+= -static
PLIST_SRC= ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
. else
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/zsh
-PLIST_SRC= ${PKGDIR}/PLIST.shlibs ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
+. if exists(${PKGDIR}/PLIST.${OPSYS})
+PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
+. else
+PLIST_SRC= # empty
+. endif
+PLIST_SRC+= ${PKGDIR}/PLIST.shlibs ${PKGDIR}/PLIST.dynamic ${PKGDIR}/PLIST
. endif
.endif
.if ${OPSYS} == "Interix"
-CONFIGURE_ARGS+= --without-tcsetpgrp
+CONFIGURE_ARGS+=--without-tcsetpgrp
.endif
.undef MANZ