diff options
author | agc <agc@pkgsrc.org> | 1999-06-28 11:54:50 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-06-28 11:54:50 +0000 |
commit | 6b6a302f6cc9005ff312d305fcb77ee11081f533 (patch) | |
tree | 4014ffb5a1c6ad9eb1b73129fa236789f7174aeb /mbone/sdr/Makefile | |
parent | 383feb0a609a60e6cb839d4727bd8c6b63ce8bfe (diff) | |
download | pkgsrc-6b6a302f6cc9005ff312d305fcb77ee11081f533.tar.gz |
Do the test for <sys/inttypes.h>'s existence a different and radical way -
use ".if exists"
Diffstat (limited to 'mbone/sdr/Makefile')
-rw-r--r-- | mbone/sdr/Makefile | 8 |
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 |