summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2004-01-12 10:08:37 +0000
committergrant <grant>2004-01-12 10:08:37 +0000
commit6d593fa94c5f49089832e0496ee8b3b4c3217d28 (patch)
tree2194e311afbcbcc5db7a651fc99388aa4416032e /mk
parent25bd43838a75dc7538e5703a7131325d22bdd01f (diff)
downloadpkgsrc-6d593fa94c5f49089832e0496ee8b3b4c3217d28.tar.gz
show-shlib-type: use return(0) instead of exit(0). eliminates a
warning from non-gcc. ok'd by agc.
Diffstat (limited to '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 159a7bea5f4..dd4b79ef317 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1342 2004/01/10 09:52:56 grant Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1343 2004/01/12 10:08:37 grant Exp $
#
# This file is in the public domain.
#
@@ -2983,7 +2983,7 @@ show-shlib-type:
cd ${WRKDIR} && \
sotype=none; \
if [ "X${MKPIC}" != "Xno" -a "X${NOPIC}" = "X" ]; then \
- ${ECHO} "int main() { exit(0); }" > a.$$$$.c; \
+ ${ECHO} "int main() { return(0); }" > a.$$$$.c; \
${CC} ${CFLAGS} a.$$$$.c -o a.$$$$.out; \
case `${FILE_CMD} a.$$$$.out` in \
*ELF*dynamically*) \