Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dliw
authbind
fix-Makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-Makefile.patch of Package authbind
--- a/Makefile +++ b/Makefile @@ -29,9 +29,9 @@ etc_dir=/etc/authbind -INSTALL_FILE ?= install -o root -g root -m 644 -INSTALL_PROGRAM ?= install -o root -g root -m 755 -s -INSTALL_DIR ?= install -o root -g root -m 755 -d +INSTALL_FILE ?= install -m 644 +INSTALL_PROGRAM ?= install -m 755 +INSTALL_DIR ?= install -m 755 -d STRIP ?= strip OPTIMISE= -O2 @@ -59,19 +59,24 @@ all: $(TARGETS) install: $(TARGETS) - $(INSTALL_DIR) $(lib_dir) $(man1_dir) $(man8_dir) - $(INSTALL_PROGRAM) $(BINTARGETS) $(bin_dir)/. - $(INSTALL_FILE) $(LIBTARGET) $(lib_dir)/. - $(STRIP) --strip-unneeded $(lib_dir)/$(LIBTARGET) - ln -sf $(LIBTARGET) $(lib_dir)/$(LIBCANON) - $(INSTALL_PROGRAM) $(HELPER) $(libexec_dir)/. - chmod u+s $(libexec_dir)/$(HELPER) - $(INSTALL_DIR) $(etc_dir) \ - $(etc_dir)/byport $(etc_dir)/byaddr $(etc_dir)/byuid + $(INSTALL_DIR) $(DESTDIR)$(bin_dir) + $(INSTALL_DIR) $(DESTDIR)$(lib_dir) + $(INSTALL_DIR) $(DESTDIR)$(etc_dir) + $(INSTALL_DIR) $(DESTDIR)$(libexec_dir) + $(INSTALL_PROGRAM) $(BINTARGETS) $(DESTDIR)$(bin_dir) + $(INSTALL_PROGRAM) $(LIBTARGET) $(DESTDIR)$(lib_dir) + ln -sf $(LIBTARGET) $(DESTDIR)$(lib_dir)/$(LIBCANON) + $(INSTALL_PROGRAM) $(HELPER) $(DESTDIR)$(libexec_dir) + chmod u+s $(DESTDIR)$(libexec_dir)/$(HELPER) + $(INSTALL_DIR) $(DESTDIR)$(etc_dir)/byport + $(INSTALL_DIR) $(DESTDIR)$(etc_dir)/byaddr + $(INSTALL_DIR) $(DESTDIR)$(etc_dir)/byuid install_man: $(MANPAGES_1) $(MANPAGES_8) - $(INSTALL_FILE) $(MANPAGES_1) $(man1_dir)/. - $(INSTALL_FILE) $(MANPAGES_8) $(man8_dir)/. + $(INSTALL_DIR) $(DESTDIR)$(man1_dir) + $(INSTALL_DIR) $(DESTDIR)$(man8_dir) + $(INSTALL_FILE) $(MANPAGES_1) $(DESTDIR)$(man1_dir) + $(INSTALL_FILE) $(MANPAGES_8) $(DESTDIR)$(man8_dir) libauthbind.o: libauthbind.c authbind.h $(CC) -D_REENTRANT $(CFLAGS) $(CPPFLAGS) -c -o $@ -fPIC $<
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor