aboutsummaryrefslogtreecommitdiff
path: root/archivers/gtar/Makefile
diff options
context:
space:
mode:
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>