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:
parent
0ffa98531e
commit
6914ceca7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13656
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user