summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-12 10:08:37 +0000
committergrant <grant@pkgsrc.org>2004-01-12 10:08:37 +0000
commit70e96d382da2067c9472416f5382360a1fce0f58 (patch)
tree2194e311afbcbcc5db7a651fc99388aa4416032e /mk
parent1f7104e4622ba0660039c5e612f28a0ea13610fe (diff)
downloadpkgsrc-70e96d382da2067c9472416f5382360a1fce0f58.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*) \