diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2002-11-22 20:44:29 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2002-11-22 20:44:29 +0000 |
commit | 4664f6012229891397b1026c6878bc51e0b69aef (patch) | |
tree | 1aa18e590ff18bb0b52ec72d12d2b59f809fa8dd /graphics/geomview/files/patch-configure.in | |
parent | gsubedit should have been repo copied from graphics/gsubedit, not (diff) |
Upgrade to 1.8.1 .
It's not quite completely unbroken, but it's certainly less
broken than 1.6 was.
Notes
Notes:
svn path=/head/; revision=70766
Diffstat (limited to 'graphics/geomview/files/patch-configure.in')
-rw-r--r-- | graphics/geomview/files/patch-configure.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/geomview/files/patch-configure.in b/graphics/geomview/files/patch-configure.in new file mode 100644 index 000000000000..0ac72663638b --- /dev/null +++ b/graphics/geomview/files/patch-configure.in @@ -0,0 +1,36 @@ +--- configure.in.orig Sun Mar 25 17:56:01 2001 ++++ configure.in Mon Aug 12 18:07:49 2002 +@@ -433,6 +433,10 @@ + AC_DEFINE(unix, 1) + AC_DEFINE(alloca, __alloca) + ;; ++*freebsd*) MACHTYPE=$target_os ++ AC_DEFINE_UNQUOTED(MACHTYPE, "$MACHTYPE") ++ AC_DEFINE(alloca, alloca) dnl work around flawed GNU assumption ++ ;; + *) MACHTYPE=$target_os + AC_DEFINE_UNQUOTED(MACHTYPE, "$MACHTYPE") + ;; +@@ -471,7 +471,8 @@ + + + AC_MSG_CHECKING([whether we need to link -lsocket to get socket()]) +-AC_TRY_LINK([ #include <sys/socket.h> ], ++AC_TRY_LINK([ #include <sys/types.h> ++ #include <sys/socket.h> ], + [ int s = socket(AF_UNIX, SOCK_STREAM, 0); ], + [ SOCKETLIBS="" + AC_MSG_RESULT([no]) ], +@@ -491,10 +492,10 @@ + + AC_CHECK_HEADERS(fpu_control.h i386/fpu_control.h netinet/in.h) + +-moduledir="\$(exec_prefix)/bin" ++moduledir="\$(exec_prefix)/libexec/geomview/modules" + AC_SUBST(moduledir) + +-geomdatadir="\$(prefix)/data" ++geomdatadir="\$(prefix)/share/geomview/data" + AC_SUBST(geomdatadir) + + # cache 'moduledir' and 'geomdatadir' so individual module configure scripts |