summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-12-03 21:59:00 +0000
committerxtraeme <xtraeme>2003-12-03 21:59:00 +0000
commitde470c52ff878ac5de9b553e0fa350f65182c912 (patch)
treef4d1d7f0d1f9baadf1719777d6f2d97d8a7f4e53 /mk/bsd.pkg.mk
parent747b72558f430b2d9792074c1b39bf63cb40d077 (diff)
downloadpkgsrc-de470c52ff878ac5de9b553e0fa350f65182c912.tar.gz
Fix breakage in show-shlib-type introduced in last changes.
Thanks to Jeremy C.Reed and Soren Jacobsen, this also closes PR pkg/23641.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a459831d8f3..9e632ad1746 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1311 2003/12/03 18:31:06 erh Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1312 2003/12/03 21:59:00 xtraeme Exp $
#
# This file is in the public domain.
#
@@ -2974,7 +2974,7 @@ show-shlib-type:
${_PKG_SILENT}${_PKG_DEBUG} \
cd ${WRKDIR} && \
sotype=none; \
- elif [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then \
+ if [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then \
${ECHO} "int main() { exit(0); }" > a.$$$$.c; \
${CC} ${CFLAGS} a.$$$$.c -o a.$$$$.out; \
case `${FILE_CMD} a.$$$$.out` in \