$OpenBSD: patch-source_Makefile_in,v 1.3 2010/07/01 00:26:03 eric Exp $
--- source/Makefile.in.orig	Sun Apr 18 17:08:08 2010
+++ source/Makefile.in	Sun Jun 27 06:14:06 2010
@@ -326,8 +326,7 @@ EXTRA_DIST = Makefile.vc dirlist.mk
 INCLUDES = -I$(top_srcdir)/source/headers
 lib_LTLIBRARIES = libgeos.la
 libgeos_la_LDFLAGS = \
-	-release @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ \
-	-no-undefined
+	-no-undefined -lstdc++ -lm
 
 libgeos_la_SOURCES = \
 	inlines.cpp
