pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc bootstraping issuse with CVS from 02 December 2021 on UnixWare ./bootstrap --full --prefer-pkgsrc=yes Resolved, but new issue



Hi Roland,

thank you for you sugesstions they worked and I resolved the issue.


I have patches to devel/m4/patches/ that all apply automatically in

patch-xinuos-m4-1.14.19

When I manually edit

/home/build/pkgsrc/bootstrap/work/wrk/devel/m4/work/m4-1.4.19/src/Makefile

I created devel/m4/patches/patch-xinuos-m4-1.14.19_src_Makefile.diff and tried many combinations of the path to the file like. Also the full path. It appears to be trying to install the patch before the Makefile is created.

--- Makefile.orig 2021-12-08 10:31:46.486652474 -0700
+++ Makefile      2021-12-08 10:24:20.000000000 -0700

...

--- m4-1.4.19/src/Makefile.orig 2021-12-08 10:31:46.486652474 -0700
+++ m4-1.4.19/src/Makefile      2021-12-08 10:24:20.000000000 -0700
@@ -302,7 +302,7 @@
 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
 am__v_CC_0 = @echo "  CC      " $@;
 am__v_CC_1 =
-CCLD = $(CC)
+CCLD = $(CC) -latomic
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 AM_V_CCLD = $(am__v_CCLD_$(V))
 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))

all my other patches install and build failing thi (The file doesn't exist yet. s ===> Overriding tools for m4-1.4.19
===> Extracting for m4-1.4.19
===> Patching for m4-1.4.19
=> Applying pkgsrc patches for m4-1.4.19
File to patch:

Remove the patch and I may manually edit the Makefile and run

# ./bootstrap --full --prefer-pkgsrc=yes
# cd /home/build/pkgsrc/bootstrap/work/wrk/devel/m4/work/m4-1.4.19/src/

Patche the file with the -latomic as above I get my m4 program.
# /home/build/pkgsrc/bootstrap/work/bmake/bmake

How do I patch the resulting Makefile created during bootstrap in

/home/build/pkgsrc/bootstrap/work/wrk/devel/m4/work/m4-1.4.19/src/

I want to automatically use this patch during boostrap afer configure has been run and created the Makefile. I have been going through the pkgsrc documenation. I must be missing something.

Regards,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index