summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtb <jtb>2001-03-31 18:23:00 +0000
committerjtb <jtb>2001-03-31 18:23:00 +0000
commitfbd4d827fb61025d7e78320018467669f2799930 (patch)
treedc9d1b75d34ef5c05e5d4d45f8407c2518ed898e
parent59815bd8556f8cfb2749b98cd216caeb4e59013b (diff)
downloadpkgsrc-fbd4d827fb61025d7e78320018467669f2799930.tar.gz
Don't use optimization for compiling "bytesex.c".
-rw-r--r--devel/hdf/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/hdf/Makefile b/devel/hdf/Makefile
index 54c935c549d..e2eda80b6aa 100644
--- a/devel/hdf/Makefile
+++ b/devel/hdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/03/31 11:14:30 zuntum Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/31 18:23:00 jtb Exp $
DISTNAME= HDF4.1r4
PKGNAME= hdf-4.1r4
@@ -45,15 +45,16 @@ post-patch:
${MV} -f ${WRKSRC}/mfhdf/ncgen/ncgen.1 \
${WRKSRC}/mfhdf/ncgen/hdfncgen.1
+# XXX Don't compile this file with optimization.
pre-configure:
- ${CC} ${CFLAGS} ${FILESDIR}/bytesex.c -o ${WRKSRC}/bytesex
+ ${CC} ${FILESDIR}/bytesex.c -o ${WRKSRC}/bytesex
SWAP= `${WRKSRC}/bytesex`
do-configure:
@for f in libsrc dumper ncgen ncdump; do \
${SED} -e 's:@SWAP@:'${SWAP}':g' \
- < ${WRKSRC}/mfhdf/$$f/Makefile > \
+ ${WRKSRC}/mfhdf/$$f/Makefile > \
${WRKSRC}/mfhdf/$$f/Makefile.tmp \
&& ${MV} ${WRKSRC}/mfhdf/$$f/Makefile.tmp \
${WRKSRC}/mfhdf/$$f/Makefile; \