summaryrefslogtreecommitdiff
path: root/archivers/gtar/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-11 12:09:13 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-11 12:09:13 +0000
commit638bd0a217da9b3800908db80debe26ecb296804 (patch)
treeb5b215640bf7c475595a91b08dc6739e3734f17b /archivers/gtar/Makefile
parent- Change the name of the file in which keychain stores the environment (diff)
Update to 1.13.22.
PR: ports/30371 Submitted by: Cyrille Lefevre <clefevre@citeweb.net> Add a patch to work around a /bin/sh bug described in PR #30392. Submitted by: Christian Weisgerber <naddy@mips.inka.de>
Notes
Notes: svn path=/head/; revision=47659
Diffstat (limited to 'archivers/gtar/Makefile')
-rw-r--r--archivers/gtar/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 333608612d08..5b9084d83108 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tar
-PORTVERSION= 1.13.19
+PORTVERSION= 1.13.22
PKGNAMEPREFIX= g
CATEGORIES= archivers sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
@@ -20,12 +20,13 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
+ LDFLAGS='-L${LOCALBASE}/lib ${LDSTATIC}' \
DEFAULT_ARCHIVE='/dev/sa0'
.if defined(WANT_STATIC)
-CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -static'
+LDSTATIC= -static
.else
-CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib'
+LDSTATIC=
.endif
.include <bsd.port.mk>