summaryrefslogtreecommitdiff
path: root/net/ser/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/ser/patches/patch-ad')
-rw-r--r--net/ser/patches/patch-ad23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/ser/patches/patch-ad b/net/ser/patches/patch-ad
new file mode 100644
index 00000000000..3db4cf2baa6
--- /dev/null
+++ b/net/ser/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/03/23 06:24:49 wiz Exp $
+
+--- Makefile.orig 2004-07-27 01:18:34.000000000 +0200
++++ Makefile
+@@ -252,15 +252,10 @@ $(man-prefix)/$(man-dir)/man5:
+ mkdir -p $(man-prefix)/$(man-dir)/man5
+
+ # note: on solaris 8 sed: ? or \(...\)* (a.s.o) do not work
+-install-cfg: $(cfg-prefix)/$(cfg-dir)
++install-cfg:
+ sed -e "s#/usr/.*lib/ser/modules/#$(modules-target)#g" \
+- < etc/ser.cfg > $(cfg-prefix)/$(cfg-dir)ser.cfg.sample
+- chmod 644 $(cfg-prefix)/$(cfg-dir)ser.cfg.sample
+- if [ -z "${skip_cfg_install}" -a \
+- ! -f $(cfg-prefix)/$(cfg-dir)ser.cfg ]; then \
+- mv -f $(cfg-prefix)/$(cfg-dir)ser.cfg.sample \
+- $(cfg-prefix)/$(cfg-dir)ser.cfg; \
+- fi
++ < etc/ser.cfg > $(eg-dir)ser.cfg
++ chmod 644 $(eg-dir)ser.cfg
+ # $(INSTALL-CFG) etc/ser.cfg $(cfg-prefix)/$(cfg-dir)
+
+ install-bin: $(bin-prefix)/$(bin-dir) utils/gen_ha1/gen_ha1