diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-08-21 21:40:02 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-08-21 21:40:02 +0000 |
commit | 9ba070b2960d7d42663c5fd9cb4c922eb8298736 (patch) | |
tree | 0f57751816aeca0560ee5d1d1a117df0d54dadd9 | |
parent | 3ed18311fdb651e660b5012d5a9eb93adcae3a64 (diff) | |
download | ports-9ba070b2960d7d42663c5fd9cb4c922eb8298736.tar.gz ports-9ba070b2960d7d42663c5fd9cb4c922eb8298736.zip |
Notes
-rw-r--r-- | graphics/hdf/Makefile | 6 | ||||
-rw-r--r-- | graphics/hdf/scripts/post-patch | 4 | ||||
-rw-r--r-- | graphics/hdf5/Makefile | 6 | ||||
-rw-r--r-- | graphics/hdf5/scripts/post-patch | 4 | ||||
-rw-r--r-- | science/hdf/Makefile | 6 | ||||
-rw-r--r-- | science/hdf/scripts/post-patch | 4 | ||||
-rw-r--r-- | science/hdf5-18/Makefile | 6 | ||||
-rw-r--r-- | science/hdf5-18/scripts/post-patch | 4 | ||||
-rw-r--r-- | science/hdf5/Makefile | 6 | ||||
-rw-r--r-- | science/hdf5/scripts/post-patch | 4 |
10 files changed, 35 insertions, 15 deletions
diff --git a/graphics/hdf/Makefile b/graphics/hdf/Makefile index a27f3eca57f5..220d5de2ce5d 100644 --- a/graphics/hdf/Makefile +++ b/graphics/hdf/Makefile @@ -3,7 +3,7 @@ # Date created: 17 November 1996 # Whom: mi # -# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $ +# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $ # DISTNAME= HDF4.1r2 @@ -18,12 +18,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes FC?= f77 # Can also be g77 for the newer one MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f +MAKE_ENV= pwrkdir=${WRKDIR} +#"wrkdir" doesn't work for some reason in the above # This will create dummy Makefiles and some links in the jpeg and libz # subdirectories. This way, we do not need to hunt all the dependencies # out. Shame on the lib's developers, though, this can not be done through # `configure'. -mi pre-build: + ${AR} -r ${WRKDIR}/libz.a /dev/null + ${RANLIB} ${WRKDIR}/libz.a test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \ ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF -${MKDIR} ${WRKSRC}/hdf/jpeg diff --git a/graphics/hdf/scripts/post-patch b/graphics/hdf/scripts/post-patch index 1afaf52ab9ef..0922398e3d40 100644 --- a/graphics/hdf/scripts/post-patch +++ b/graphics/hdf/scripts/post-patch @@ -39,7 +39,7 @@ patch -p << END_OF_PATCH -ZLIBINC=\$(srcdir)/../zlib -ZLIBLIB=\$(srcdir)/../zlib +ZLIBINC=/usr/include -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) END_OF_PATCH done @@ -51,7 +51,7 @@ patch -p << END_OF_PATCH @@ -72,2 +72,2 @@ -ZLIBLIB=\$(srcdir)/../zlib -ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) +ZLIBINC=/usr/include END_OF_PATCH done diff --git a/graphics/hdf5/Makefile b/graphics/hdf5/Makefile index a27f3eca57f5..220d5de2ce5d 100644 --- a/graphics/hdf5/Makefile +++ b/graphics/hdf5/Makefile @@ -3,7 +3,7 @@ # Date created: 17 November 1996 # Whom: mi # -# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $ +# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $ # DISTNAME= HDF4.1r2 @@ -18,12 +18,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes FC?= f77 # Can also be g77 for the newer one MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f +MAKE_ENV= pwrkdir=${WRKDIR} +#"wrkdir" doesn't work for some reason in the above # This will create dummy Makefiles and some links in the jpeg and libz # subdirectories. This way, we do not need to hunt all the dependencies # out. Shame on the lib's developers, though, this can not be done through # `configure'. -mi pre-build: + ${AR} -r ${WRKDIR}/libz.a /dev/null + ${RANLIB} ${WRKDIR}/libz.a test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \ ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF -${MKDIR} ${WRKSRC}/hdf/jpeg diff --git a/graphics/hdf5/scripts/post-patch b/graphics/hdf5/scripts/post-patch index 1afaf52ab9ef..0922398e3d40 100644 --- a/graphics/hdf5/scripts/post-patch +++ b/graphics/hdf5/scripts/post-patch @@ -39,7 +39,7 @@ patch -p << END_OF_PATCH -ZLIBINC=\$(srcdir)/../zlib -ZLIBLIB=\$(srcdir)/../zlib +ZLIBINC=/usr/include -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) END_OF_PATCH done @@ -51,7 +51,7 @@ patch -p << END_OF_PATCH @@ -72,2 +72,2 @@ -ZLIBLIB=\$(srcdir)/../zlib -ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) +ZLIBINC=/usr/include END_OF_PATCH done diff --git a/science/hdf/Makefile b/science/hdf/Makefile index a27f3eca57f5..220d5de2ce5d 100644 --- a/science/hdf/Makefile +++ b/science/hdf/Makefile @@ -3,7 +3,7 @@ # Date created: 17 November 1996 # Whom: mi # -# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $ +# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $ # DISTNAME= HDF4.1r2 @@ -18,12 +18,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes FC?= f77 # Can also be g77 for the newer one MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f +MAKE_ENV= pwrkdir=${WRKDIR} +#"wrkdir" doesn't work for some reason in the above # This will create dummy Makefiles and some links in the jpeg and libz # subdirectories. This way, we do not need to hunt all the dependencies # out. Shame on the lib's developers, though, this can not be done through # `configure'. -mi pre-build: + ${AR} -r ${WRKDIR}/libz.a /dev/null + ${RANLIB} ${WRKDIR}/libz.a test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \ ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF -${MKDIR} ${WRKSRC}/hdf/jpeg diff --git a/science/hdf/scripts/post-patch b/science/hdf/scripts/post-patch index 1afaf52ab9ef..0922398e3d40 100644 --- a/science/hdf/scripts/post-patch +++ b/science/hdf/scripts/post-patch @@ -39,7 +39,7 @@ patch -p << END_OF_PATCH -ZLIBINC=\$(srcdir)/../zlib -ZLIBLIB=\$(srcdir)/../zlib +ZLIBINC=/usr/include -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) END_OF_PATCH done @@ -51,7 +51,7 @@ patch -p << END_OF_PATCH @@ -72,2 +72,2 @@ -ZLIBLIB=\$(srcdir)/../zlib -ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) +ZLIBINC=/usr/include END_OF_PATCH done diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile index a27f3eca57f5..220d5de2ce5d 100644 --- a/science/hdf5-18/Makefile +++ b/science/hdf5-18/Makefile @@ -3,7 +3,7 @@ # Date created: 17 November 1996 # Whom: mi # -# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $ +# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $ # DISTNAME= HDF4.1r2 @@ -18,12 +18,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes FC?= f77 # Can also be g77 for the newer one MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f +MAKE_ENV= pwrkdir=${WRKDIR} +#"wrkdir" doesn't work for some reason in the above # This will create dummy Makefiles and some links in the jpeg and libz # subdirectories. This way, we do not need to hunt all the dependencies # out. Shame on the lib's developers, though, this can not be done through # `configure'. -mi pre-build: + ${AR} -r ${WRKDIR}/libz.a /dev/null + ${RANLIB} ${WRKDIR}/libz.a test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \ ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF -${MKDIR} ${WRKSRC}/hdf/jpeg diff --git a/science/hdf5-18/scripts/post-patch b/science/hdf5-18/scripts/post-patch index 1afaf52ab9ef..0922398e3d40 100644 --- a/science/hdf5-18/scripts/post-patch +++ b/science/hdf5-18/scripts/post-patch @@ -39,7 +39,7 @@ patch -p << END_OF_PATCH -ZLIBINC=\$(srcdir)/../zlib -ZLIBLIB=\$(srcdir)/../zlib +ZLIBINC=/usr/include -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) END_OF_PATCH done @@ -51,7 +51,7 @@ patch -p << END_OF_PATCH @@ -72,2 +72,2 @@ -ZLIBLIB=\$(srcdir)/../zlib -ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) +ZLIBINC=/usr/include END_OF_PATCH done diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile index a27f3eca57f5..220d5de2ce5d 100644 --- a/science/hdf5/Makefile +++ b/science/hdf5/Makefile @@ -3,7 +3,7 @@ # Date created: 17 November 1996 # Whom: mi # -# $Id: Makefile,v 1.3 1998/04/08 12:53:43 tg Exp $ +# $Id: Makefile,v 1.4 1998/06/04 23:18:46 steve Exp $ # DISTNAME= HDF4.1r2 @@ -18,12 +18,16 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes FC?= f77 # Can also be g77 for the newer one MAKE_FLAGS= CC="$(CC)" FC="${FC}" -f +MAKE_ENV= pwrkdir=${WRKDIR} +#"wrkdir" doesn't work for some reason in the above # This will create dummy Makefiles and some links in the jpeg and libz # subdirectories. This way, we do not need to hunt all the dependencies # out. Shame on the lib's developers, though, this can not be done through # `configure'. -mi pre-build: + ${AR} -r ${WRKDIR}/libz.a /dev/null + ${RANLIB} ${WRKDIR}/libz.a test -d ${WRKSRC}/hdf/jpeg.came-with-HDF || \ ${MV} -f ${WRKSRC}/hdf/jpeg ${WRKSRC}/hdf/jpeg.came-with-HDF -${MKDIR} ${WRKSRC}/hdf/jpeg diff --git a/science/hdf5/scripts/post-patch b/science/hdf5/scripts/post-patch index 1afaf52ab9ef..0922398e3d40 100644 --- a/science/hdf5/scripts/post-patch +++ b/science/hdf5/scripts/post-patch @@ -39,7 +39,7 @@ patch -p << END_OF_PATCH -ZLIBINC=\$(srcdir)/../zlib -ZLIBLIB=\$(srcdir)/../zlib +ZLIBINC=/usr/include -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) END_OF_PATCH done @@ -51,7 +51,7 @@ patch -p << END_OF_PATCH @@ -72,2 +72,2 @@ -ZLIBLIB=\$(srcdir)/../zlib -ZLIBINC=\$(srcdir)/../zlib -+ZLIBLIB=/usr/lib ++ZLIBLIB=-lz \$(pwrkdir) +ZLIBINC=/usr/include END_OF_PATCH done |