freebsd-ports/devel/libtar/Makefile
Michael Johnson 8445d65036 Add -fPIC to CPPFLAGS on !i386 to fix build
Reported by:	kris mail
2005-07-14 23:21:22 +00:00

34 lines
783 B
Makefile

# New ports collection makefile for: libtar
# Date created: 06 January 2001
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libtar
PORTVERSION= 1.2.11
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.feep.net/pub/software/libtar/
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for manipulating POSIX and GNU tar files
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/libtar.so.0 ${PREFIX}/lib
${LN} -sf libtar.so.0 ${PREFIX}/lib/libtar.so
.include <bsd.port.pre.mk>
.include "files/manpages"
.if ${ARCH}!="i386"
CPPFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>