pkgsrc/www/php4
agc cb0e38446b Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to
generalise the linker flags used to export symbols by setting them on
a per-OS basis.

> many packages force -Wl,-export-dynamic which is not portable outside GNU ld
> and cause problems e.g. on Solaris.  some of these packages use if
> conditionals either only for NetBSD or except SunOS, but the state is not
> coherent and it may complicate later when support for new OS is added to
> pkgsrc (e.g. ongoing work on HP-UX support).
>
> jlam proposed the following framework in discussion on tech-pkg:
>
>   http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html
>
> now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining
> -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable
> values.  packages should be converted to this framework by:
>
> 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with:
>
>    LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
>
> 2) for use in patchfiles, add this variable to MAKE_ENV if needed:
>
>    MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
>
> 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch
>    files with:
>
>    $(EXPORT_SYMBOLS_LDFLAGS)
2002-09-04 14:47:32 +00:00
..
patches Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to 2002-09-04 14:47:32 +00:00
buildlink.mk Update www/php4 to 4.1.0. Major changes from version 4.0.6 include: 2001-12-31 23:54:24 +00:00
buildlink2.mk Merge changes in packages from the buildlink2 branch that have 2002-08-25 18:38:05 +00:00
DESCR Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
distinfo Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to 2002-09-04 14:47:32 +00:00
Makefile Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to 2002-09-04 14:47:32 +00:00
Makefile.common Give PHP4 distfile a make variable name. 2002-04-12 17:59:57 +00:00
Makefile.module Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to 2002-09-04 14:47:32 +00:00
Makefile.php Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
MESSAGE Remove references to the example php.ini files. The recommended one is 2002-01-11 22:27:05 +00:00
MESSAGE.module Forgot a CONFDIR -> PKG_SYSCONFDIR replacement. 2001-11-26 07:30:44 +00:00
PLIST Update php4 and ap-php4 to 4.1.2. Changes from version 4.1.1 include: 2002-02-28 06:14:45 +00:00
PLIST.module Move pkg/ files into package's toplevel directory 2001-11-01 02:25:33 +00:00