pkgsrc-Users archive

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

Re: ERROR: [...] missing RELRO



On Sun, 3 Oct 2021 09:39:02 +0000, nia wrote:
>> 
>> Both on -9 and current, the editors/xemacs build fails with
> 
> This was a mistake on my part. As joerg mentioned, older
> emacs versions are incompatible with MKPIE.  I'd already
> noticed this and disabled MKPIE for emacs, but due to
> complex inclusion order (MKPIE _must_ be disabled before
> bsd.prefs.mk is included) it wasn't being honored.
> 
> Fixed.

Thanks!

The change breaks the build, though. Some of the {pre,post}-targets in 
Makefile.common have commands that depend on options (like x11).

I duplicated the targets in options.mk, which required '::', which 
required 

Index: bsd.pkginstall.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/pkginstall/bsd.pkginstall.mk,v
retrieving revision 1.75
diff -u -p -u -r1.75 bsd.pkginstall.mk
--- bsd.pkginstall.mk	30 May 2021 23:41:05 -0000	1.75
+++ bsd.pkginstall.mk	3 Oct 2021 11:14:23 -0000
@@ -1222,7 +1222,7 @@ ${_INSTALL_FILE}: ${INSTALL_SRC}
 generate-rcd-scripts:	# do nothing
 
 .PHONY: install-rcd-scripts
-post-install: install-rcd-scripts
+post-install:: install-rcd-scripts
 install-rcd-scripts:	# do nothing
 
 .for _script_ in ${_INSTALL_RCD_SCRIPTS}


-- I note that generally '::' targets are not used in pkgsrc. Any 
particular reason for it?

Cheerio,
Hauke

-- 
Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany


Home | Main Index | Thread Index | Old Index