aboutsummaryrefslogtreecommitdiffstats
path: root/misc/iso-codes
diff options
context:
space:
mode:
Diffstat (limited to 'misc/iso-codes')
-rw-r--r--misc/iso-codes/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/iso-codes/Makefile b/misc/iso-codes/Makefile
index ac6e99490491..3715419c7ff1 100644
--- a/misc/iso-codes/Makefile
+++ b/misc/iso-codes/Makefile
@@ -22,7 +22,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal:19 autoconf:259 automake:19
AUTOMAKE_ARGS+= --add-missing --foreign --copy
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-.*$//}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch: