summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authoragc <agc>1999-06-28 11:54:50 +0000
committeragc <agc>1999-06-28 11:54:50 +0000
commit0817c94a3504bbe4642d53f715f1b355b0f8daf5 (patch)
tree4014ffb5a1c6ad9eb1b73129fa236789f7174aeb /mbone
parentb42a322e26390c1eaa129fb0e28673b957c6a57c (diff)
downloadpkgsrc-0817c94a3504bbe4642d53f715f1b355b0f8daf5.tar.gz
Do the test for <sys/inttypes.h>'s existence a different and radical way -
use ".if exists"
Diffstat (limited to 'mbone')
-rw-r--r--mbone/sdr/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile
index b60ec084ad7..59a10eade16 100644
--- a/mbone/sdr/Makefile
+++ b/mbone/sdr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1999/04/05 04:37:47 hubertf Exp $
+# $NetBSD: Makefile,v 1.21 1999/06/28 11:54:50 agc Exp $
#
DISTNAME= sdr-2.5.8
@@ -15,10 +15,8 @@ WRKSRC= ${WRKDIR}/sdr
USE_GMAKE= yes
USE_X11BASE= yes
-_INTTYPES!= if [ -e /usr/include/sys/inttypes.h ]; then echo "Exists"; else echo "No go"; fi
-
-.if (${_INTTYPES} == "Exists")
-EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
+.if exists(/usr/include/sys/inttypes.h)
+EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H
MAKE_FLAGS+= EXTRA_FLAGS="${EXTRA_FLAGS}"
.endif