1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix build for ELF.

This commit is contained in:
Steve Price 1998-10-05 03:20:31 +00:00
parent 0ffa98531e
commit 6914ceca7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13656
10 changed files with 10 additions and 15 deletions

View File

@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
# $Id: Makefile,v 1.7 1998/08/22 16:20:24 hoek Exp $
# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
#
DISTNAME= HDF4.1r2
@ -61,7 +61,6 @@ pre-build:
post-install:
@for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test

View File

@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
+ZLIBLIB=-lz \$(pwrkdir)
+ZLIBLIB=-lz
+ZLIBINC=/usr/include
END_OF_PATCH
done

View File

@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
# $Id: Makefile,v 1.7 1998/08/22 16:20:24 hoek Exp $
# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
#
DISTNAME= HDF4.1r2
@ -61,7 +61,6 @@ pre-build:
post-install:
@for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test

View File

@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
+ZLIBLIB=-lz \$(pwrkdir)
+ZLIBLIB=-lz
+ZLIBINC=/usr/include
END_OF_PATCH
done

View File

@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
# $Id: Makefile,v 1.7 1998/08/22 16:20:24 hoek Exp $
# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
#
DISTNAME= HDF4.1r2
@ -61,7 +61,6 @@ pre-build:
post-install:
@for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test

View File

@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
+ZLIBLIB=-lz \$(pwrkdir)
+ZLIBLIB=-lz
+ZLIBINC=/usr/include
END_OF_PATCH
done

View File

@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
# $Id: Makefile,v 1.7 1998/08/22 16:20:24 hoek Exp $
# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
#
DISTNAME= HDF4.1r2
@ -61,7 +61,6 @@ pre-build:
post-install:
@for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test

View File

@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
+ZLIBLIB=-lz \$(pwrkdir)
+ZLIBLIB=-lz
+ZLIBINC=/usr/include
END_OF_PATCH
done

View File

@ -3,7 +3,7 @@
# Date created: 17 November 1996
# Whom: mi
#
# $Id: Makefile,v 1.7 1998/08/22 16:20:24 hoek Exp $
# $Id: Makefile,v 1.8 1998/09/15 11:45:52 asami Exp $
#
DISTNAME= HDF4.1r2
@ -61,7 +61,6 @@ pre-build:
post-install:
@for binary in `grep ^bin/ ${PLIST}` ; do strip ${PREFIX}/$$binary; done
${LDCONFIG} -m ${PREFIX}/lib
test:
cd ${WRKSRC}; make ${MAKE_FLAGS} ${MAKEFILE} test

View File

@ -51,7 +51,7 @@ patch -p << END_OF_PATCH
@@ -72,2 +72,2 @@
-ZLIBLIB=\$(srcdir)/../zlib
-ZLIBINC=\$(srcdir)/../zlib
+ZLIBLIB=-lz \$(pwrkdir)
+ZLIBLIB=-lz
+ZLIBINC=/usr/include
END_OF_PATCH
done