freebsd-ports/games/latrine/files/patch-configure
2007-07-21 21:17:00 +00:00

12 lines
522 B
Text

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