pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Fix breakage in show-shlib-type introduced in last ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/379192ab9abb
branches:  trunk
changeset: 464093:379192ab9abb
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Dec 03 21:59:00 2003 +0000

description:
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:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 30971459c715 -r 379192ab9abb mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Dec 03 21:56:36 2003 +0000
+++ b/mk/bsd.pkg.mk     Wed Dec 03 21:59:00 2003 +0000
@@ -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 @@
        ${_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                        \



Home | Main Index | Thread Index | Old Index