1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Convert to ELF in accordance with Satoshi's instructions.

This commit is contained in:
Mark Murray 1998-09-14 19:43:12 +00:00
parent 3e4b869a32
commit 22f81a0cd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13113
3 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@
# Date created: 5 Dec 1995
# Whom: ache
#
# $Id: Makefile,v 1.12 1998/03/28 13:48:18 ache Exp $
# $Id: Makefile,v 1.13 1998/07/09 23:39:36 ache Exp $
#
DISTNAME= libpng-1.0.2
@ -20,6 +20,6 @@ do-configure:
cd ${WRKSRC} && cp scripts/makefile.std Makefile
post-install:
${LDCONFIG} -m ${PREFIX}/lib
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -45,10 +45,10 @@
#RANLIB=echo
RANLIB=ranlib
+ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not
+ # have to change it.
+ PNGMAJ = 2
+ PNGMIN = 1
+ # Set major and minor numbers that are ELF-compliant.
+ # The minor must _always_ be 0
+ PNGMAJ = 3
+ PNGMIN = 0
+ PNGVER = $(PNGMAJ).$(PNGMIN)
+
# where make install puts libpng.a and png.h

View File

@ -2,6 +2,6 @@ include/png.h
include/pngconf.h
lib/libpng.a
@exec ranlib %D/%F
lib/libpng.so.2.1
@exec /sbin/ldconfig -m %B
@unexec /sbin/ldconfig -R
lib/libpng.so.3
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R