1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/games/latrine/files/patch-configure
2007-07-21 21:17:00 +00:00

13 lines
522 B
Plaintext

Index: configure
@@ -5461,8 +5461,8 @@
# ----------------------------------------------------------------------------
{ echo "$as_me:$LINENO: checking for release date" >&5
echo $ECHO_N "checking for release date... $ECHO_C" >&6; }
-RELEASE_MONTH=`date -f released +%B`
-RELEASE_YEAR=`date -f released +%Y`
+RELEASE_MONTH=$(date -j -f '%a, %e %b %Y %T %z' "$(cat released)" +%B)
+RELEASE_YEAR=$(date -j -f '%a, %e %b %Y %T %z' "$(cat released)" +%Y)
cat >>confdefs.h <<_ACEOF
#define RELEASE_MONTH $RELEASE_MONTH