freebsd-ports/lang/perl5/files/patch-ad
Anton Berezin 900f472193 Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@INC array. This takes care of the infamous problem of updating the
packages already in the perl distribution. With this change, no tricks
are any longer necessary for such p5 ports, except the usual tweaking of
INSTALLDIRS in Makefile.PL. This last one can also be taken care of by
an appropriate BSDPAN modifications, but until we have the `natural'
@INC order in the 4.X base system perl, it is meaningless.

Do not include iconv.h and do not link with libiconv. Iconv is not used
by perl in any way currently, but it used to link it if found.

Fix perl on freebsd/sparc64.

PR:		33212 (iconv), 37605 (iconv), 38813 (sparc64)
Reported by:	Vivek Khera <khera@kciLink.com> (iconv),
		Martin Nilsson <martin@gneto.com> (iconv)
Submitted by:	jake (sparc64)
2002-06-02 21:22:25 +00:00

21 lines
380 B
Plaintext

$FreeBSD$
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
*/
+/* needed for IAMSUID case for 4.4BSD systems
+ * XXX there should probably be a Configure variable
+ */
+
+#ifdef I_SYS_PARAM
+#if (defined (BSD) && (BSD >= 199306))
+# include <sys/mount.h>
+#endif /* !BSD */
+#endif /* !I_SYS_PARAM */
class CPerlObj;