FreeBSD Bugzilla – Attachment 206203 Details for
Bug 239580
[patch] ports-mgmt/pkg builds pkg-static during staging phase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to fix the issue.
patch-src_Makefile.autosetup.txt (text/plain), 828 bytes, created by
Maxim Sobolev
on 2019-08-01 16:23:43 UTC
(
hide
)
Description:
Patch to fix the issue.
Filename:
MIME Type:
Creator:
Maxim Sobolev
Created:
2019-08-01 16:23:43 UTC
Size:
828 bytes
patch
obsolete
>--- src/Makefile.autosetup >+++ src/Makefile.autosetup >@@ -77,6 +77,7 @@ > @endif > > STATIC_LDFLAGS= $(LIBPKGFLAT) $(LIBS) $(OTHER_LIBS) >+STATIC_FILE= pkg-static > > include $(MK)/prog.mk > >@@ -84,12 +85,12 @@ > all: ${STATIC_FILE} > install: install-static > >-pkg-static: $(OBJS) $(top_builddir)/libpkg/libpkg_flat.a >+$(STATIC_FILE): $(OBJS) $(top_builddir)/libpkg/libpkg_flat.a > $(CC) -o $@ $(OBJS) -static $(LDFLAGS) $(STATIC_LDFLAGS) > >-install-static: pkg-static >+install-static: $(STATIC_FILE) > install -d -m 755 $(DESTDIR)$(sbindir) >- install -s -m 755 pkg-static $(DESTDIR)$(sbindir)/pkg-static >+ install -s -m 755 $(STATIC_FILE) $(DESTDIR)$(sbindir)/$(STATIC_FILE) > @endif > > ${OBJS}: $(top_builddir)/pkg_config.h >@@ -103,4 +104,4 @@ > > clean: clean-pkg-static > clean-pkg-static: >- rm -f pkg-static >+ rm -f $(STATIC_FILE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 239580
: 206203