Make this build in an ELF world.
This commit is contained in:
parent
791905a238
commit
203180cb03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13230
@ -3,7 +3,7 @@
|
|||||||
# Date created: 03 May 1997
|
# Date created: 03 May 1997
|
||||||
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1.1.1 1997/05/05 12:33:44 tg Exp $
|
# $Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= giflib-3.0
|
DISTNAME= giflib-3.0
|
||||||
@ -17,6 +17,12 @@ post-install:
|
|||||||
@${MKDIR} ${PREFIX}/share/doc/giflib
|
@${MKDIR} ${PREFIX}/share/doc/giflib
|
||||||
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
|
||||||
.endif
|
.endif
|
||||||
@${LDCONFIG} -m ${PREFIX}/lib
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
|
.if ${PORTOBJFORMAT} == "elf"
|
||||||
|
GIFLIB= libgif.so.3
|
||||||
|
.else
|
||||||
|
GIFLIB= libgif.so.3.0
|
||||||
|
.endif
|
||||||
|
@ -31,9 +31,10 @@ include/giflib/getarg.h
|
|||||||
include/giflib/gif_hash.h
|
include/giflib/gif_hash.h
|
||||||
include/giflib/gif_lib.h
|
include/giflib/gif_lib.h
|
||||||
lib/libgif.a
|
lib/libgif.a
|
||||||
|
lib/libgif.so
|
||||||
lib/libgif.so.3.0
|
lib/libgif.so.3.0
|
||||||
@exec /sbin/ldconfig -m %D/lib
|
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
|
||||||
@unexec /sbin/ldconfig -R
|
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||||
share/doc/giflib/gif2bgi.html
|
share/doc/giflib/gif2bgi.html
|
||||||
share/doc/giflib/gif2epsn.html
|
share/doc/giflib/gif2epsn.html
|
||||||
share/doc/giflib/gif2herc.html
|
share/doc/giflib/gif2herc.html
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Date created: 03 May 1997
|
# Date created: 03 May 1997
|
||||||
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1.1.1 1997/05/05 12:33:44 tg Exp $
|
# $Id: Makefile,v 1.2 1997/09/24 06:55:01 tg Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= giflib-3.0
|
DISTNAME= giflib-3.0
|
||||||
@ -17,6 +17,12 @@ post-install:
|
|||||||
@${MKDIR} ${PREFIX}/share/doc/giflib
|
@${MKDIR} ${PREFIX}/share/doc/giflib
|
||||||
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/giflib
|
||||||
.endif
|
.endif
|
||||||
@${LDCONFIG} -m ${PREFIX}/lib
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
|
.if ${PORTOBJFORMAT} == "elf"
|
||||||
|
GIFLIB= libgif.so.3
|
||||||
|
.else
|
||||||
|
GIFLIB= libgif.so.3.0
|
||||||
|
.endif
|
||||||
|
@ -31,9 +31,10 @@ include/giflib/getarg.h
|
|||||||
include/giflib/gif_hash.h
|
include/giflib/gif_hash.h
|
||||||
include/giflib/gif_lib.h
|
include/giflib/gif_lib.h
|
||||||
lib/libgif.a
|
lib/libgif.a
|
||||||
|
lib/libgif.so
|
||||||
lib/libgif.so.3.0
|
lib/libgif.so.3.0
|
||||||
@exec /sbin/ldconfig -m %D/lib
|
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
|
||||||
@unexec /sbin/ldconfig -R
|
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||||
share/doc/giflib/gif2bgi.html
|
share/doc/giflib/gif2bgi.html
|
||||||
share/doc/giflib/gif2epsn.html
|
share/doc/giflib/gif2epsn.html
|
||||||
share/doc/giflib/gif2herc.html
|
share/doc/giflib/gif2herc.html
|
||||||
|
Loading…
Reference in New Issue
Block a user