Build fixes for FreeBSD:
[disorder] / scripts / sedfiles.make
index 33b9acd..8557a86 100644 (file)
@@ -1,6 +1,6 @@
 #
 # This file is part of DisOrder.
-# Copyright (C) 2004, 2005 Richard Kettlewell
+# Copyright (C) 2004, 2005, 2007 Richard Kettlewell
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
 
 $(SEDFILES) : % : %.in Makefile
        rm -f $@.new
-       sed -e 's!sbindir!${sbindir}!g;' \
+       $(GNUSED) -e 's!sbindir!${sbindir}!g;' \
            -e 's!bindir!${bindir}!g;' \
            -e 's!pkgconfdir!${sysconfdir}/disorder!g;' \
            -e 's!pkgstatedir!${localstatedir}/disorder!g;' \