SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Use libelf from base.
Index: cddl/usr.bin/ctfconvert/Makefile
--- cddl/usr.bin/ctfconvert/Makefile.orig
+++ cddl/usr.bin/ctfconvert/Makefile
@@ -35,8 +35,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensol
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/common \
-I${OPENSOLARIS_USR_DISTDIR}/tools/ctf/cvt \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
- -I/usr/local/include/elftoolchain
+ -I${LOCALBASE}/include/libdwarf
-LDADD= -L/usr/local/lib/elftoolchain -ldwarf -lelf -lz -lpthread
+LDADD= -L/usr/lib -L${LOCALBASE}/lib/ -ldwarf -lelf -lz -lpthread
.include <bsd.prog.mk>