Subject: | Compilation under freebsd |
FreeBSD (and maybe other systems which per default install non-OS
add-ons to /usr/local instead to /usr) need the attached patch to
compile gettext. Also, I added a MANIFEST file --- sometimes it helps,
for instance if somebody makes a patch...
Regards,
Slaven
Subject: | gettext-freebsd.patch |
#
#
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####
#### Patch data follows ####
diff -up '../build/gettext-1.05/Makefile.PL' 'gettext-1.05/Makefile.PL'
Index: ./Makefile.PL
--- ./Makefile.PL Mon Jan 31 00:30:22 2005
+++ ./Makefile.PL Tue Sep 19 08:50:12 2006
@@ -50,7 +50,7 @@ sub conftest {
close TEST;
open(SAVE, ">&STDERR");
open(STDERR, ">/dev/null");
- system($cc . " -o conftest " . $libs . " conftest.c");
+ system($cc . " " . join(" ", map { "-I $_" } split / /, $Config{locincpth}) . " " . join(" ", map { "-L $_" } split / /, $Config{loclibpth}) . " -o conftest " . $libs . " conftest.c");
my $exitstatus = $?;
open(STDERR, ">&SAVE");
if ($exitstatus != 0) {
#### End of Patch data ####
#### ApplyPatch data follows ####
# Data version : 1.0
# Date generated : Sat Sep 23 00:41:07 2006
# Generated by : makepatch 2.00_12*
# Recurse directories : Yes
# Excluded files : (\A|/).*\~\Z
# (\A|/).*\.a\Z
# (\A|/).*\.bak\Z
# (\A|/).*\.BAK\Z
# (\A|/).*\.elc\Z
# (\A|/).*\.exe\Z
# (\A|/).*\.gz\Z
# (\A|/).*\.ln\Z
# (\A|/).*\.o\Z
# (\A|/).*\.obj\Z
# (\A|/).*\.olb\Z
# (\A|/).*\.old\Z
# (\A|/).*\.orig\Z
# (\A|/).*\.rej\Z
# (\A|/).*\.so\Z
# (\A|/).*\.Z\Z
# (\A|/)\.del\-.*\Z
# (\A|/)\.make\.state\Z
# (\A|/)\.nse_depinfo\Z
# (\A|/)core\Z
# (\A|/)tags\Z
# (\A|/)TAGS\Z
# p 'Makefile.PL' 1581 1158648612 0100640
#### End of ApplyPatch data ####
#### End of Patch kit [created: Sat Sep 23 00:41:07 2006] ####
#### Patch checksum: 47 1854 46501 ####
#### Checksum: 65 2478 32494 ####
Subject: | gettext-MANIFEST |
Message body not shown because it is not plain text.