openbsd-ports/www/php4/extensions/patches/patch-ext_gmp_config_m4
avsm a5c226010f Import php4-4.2.1 extensions
This module generates a bunch of php4 extensions as shared modules,
and seperates them out into multiple packages.

End result is that you can pkg_add individual modules now without
getting into the mess of flavors that we've had in the past. 

Work by wilfried@ and me,  espie@ ok
2002-06-24 19:27:46 +00:00

12 lines
444 B
Plaintext

$OpenBSD: patch-ext_gmp_config_m4,v 1.1.1.1 2002/06/24 19:27:48 avsm Exp $
--- ext/gmp/config.m4.orig Fri Nov 30 18:59:37 2001
+++ ext/gmp/config.m4 Wed Jun 19 22:18:14 2002
@@ -21,5 +21,6 @@ if test "$PHP_GMP" != "no"; then
PHP_EXTENSION(gmp, $ext_shared)
AC_DEFINE(HAVE_GMP, 1, [ ])
- PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib)
+ PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib, GMP_SHARED_LIBADD)
+ PHP_SUBST(GMP_SHARED_LIBADD)
fi