summaryrefslogtreecommitdiff
path: root/devel/makeplus/files/patch-configure_start.sh
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-02-10 23:46:13 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-02-10 23:46:13 +0000
commitd8f32ee7cb7149098b8803bd33a53789e44acd16 (patch)
treeff569c28595e3618fb2f25c16df63d7e64b16b31 /devel/makeplus/files/patch-configure_start.sh
parentUpdate to 0.69. (diff)
The final version of the makeplus patch, which should be integrated into the
upstream on the next version. (I've been helping the author with make issues). Bump portrev on that one. c2lib: just autogen'd the plist and manpage list because the make+ patch let me do it and test it. Nothing materially different. Just cosmetic, really.
Notes
Notes: svn path=/head/; revision=75272
Diffstat (limited to 'devel/makeplus/files/patch-configure_start.sh')
-rw-r--r--devel/makeplus/files/patch-configure_start.sh51
1 files changed, 45 insertions, 6 deletions
diff --git a/devel/makeplus/files/patch-configure_start.sh b/devel/makeplus/files/patch-configure_start.sh
index 26c74a891be0..f39da75c305e 100644
--- a/devel/makeplus/files/patch-configure_start.sh
+++ b/devel/makeplus/files/patch-configure_start.sh
@@ -1,9 +1,33 @@
--- configure_start.sh.orig Sat Feb 8 05:00:52 2003
-+++ configure_start.sh Sun Feb 9 22:49:19 2003
-@@ -45,16 +45,17 @@
- pkgetcdir = $pkgetcdir
- pkglibdir = $pkglibdir
- pkgincludedir = $pkgincludedir
++++ configure_start.sh Mon Feb 10 18:30:53 2003
+@@ -28,33 +28,41 @@
+ #define VERSION "$VERSION"
+ EOF
+
++case `uname` in
++ *BSD)
++ manprefix="\$(prefix)";;
++ *)
++ manprefix="\$(datadir)";;
++esac
++
+ cat > config.mk <<EOF
+ prefix = $prefix
+-bindir = $bindir
+-sbindir = $sbindir
+-libexecdir = $libexecdir
+-datadir = $datadir
+-sysconfdir = $sysconfdir
+-sharedstatedir = $sharedstatedir
+-localstatedir = $localstatedir
+-libdir = $libdir
+-infodir = $infodir
+-includedir = $includedir
+-pkgdatadir = $pkgdatadir
+-docdir = $docdir
+-pkgetcdir = $pkgetcdir
+-pkglibdir = $pkglibdir
+-pkgincludedir = $pkgincludedir
-manprefix = $datadir
-mandir = $mandir
-man1dir = $man1dir
@@ -18,7 +42,22 @@
-manldir = $manldir
-EOF
\ No newline at end of file
-+manprefix = \$(prefix)
++bindir = \$(prefix)/bin
++sbindir = \$(prefix)/sbin
++libexecdir = \$(prefix)/libexec
++datadir = \$(prefix)/share
++sysconfdir = \$(prefix)/etc
++sharedstatedir = \$(prefix)/com
++localstatedir = \$(prefix)/var
++libdir = \$(prefix)/lib
++infodir = \$(prefix)/info
++includedir = \$(prefix)/include
++pkgdatadir = \$(datadir)/$PACKAGE
++docdir = \$(datadir)/doc/$PACKAGE
++pkgetcdir = \$(sysconfdir)/$PACKAGE
++pkglibdir = \$(libdir)/$PACKAGE
++pkgincludedir = \$(includedir)/$PACKAGE
++manprefix = $manprefix
+mandir = \$(manprefix)/man
+man1dir = \$(mandir)/man1
+man2dir = \$(mandir)/man2