diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-10-02 06:47:29 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-10-02 06:47:29 +0000 |
commit | f66a2e85c2acf1af9c91cef93677427a346b7c74 (patch) | |
tree | 5332efacb40d73fb856bb11aacf99301a21cb08f /mbone/sdr/Makefile | |
parent | 3855b63dd960944bd916b1fb15c20306b99d7c41 (diff) | |
download | pkgsrc-f66a2e85c2acf1af9c91cef93677427a346b7c74.tar.gz |
work around <sys/inttypes.h> not present in 1.3
Diffstat (limited to 'mbone/sdr/Makefile')
-rw-r--r-- | mbone/sdr/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile index 879e1eb5e5a..646c55c1659 100644 --- a/mbone/sdr/Makefile +++ b/mbone/sdr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1998/08/20 15:17:11 tsarna Exp $ +# $NetBSD: Makefile,v 1.11 1998/10/02 06:47:29 hubertf Exp $ # FreeBSD Id: Makefile,v 1.6 1997/10/15 20:35:20 fenner Exp # @@ -17,9 +17,10 @@ NO_WRKSUBDIR= yes USE_GMAKE= yes USE_X11= yes -# src/libs.tcl is autogenerated from the tcl/tk installed on the -# build system, so we shouldn't use the one in the distribution. -post-extract: - -@rm ${WRKSRC}/src/libs.tcl +_INTTYPES!= if [ -e /usr/include/sys/inttypes.h ]; then echo "Exists"; else echo "No go"; fi + +.if (${_INTTYPES} == "Exists") +CFLAGS+= -DHAVE_SYS_INTTYPES_H +.endif .include "../../mk/bsd.pkg.mk" |