Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
adns
adns-1.4-destdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File adns-1.4-destdir.patch of Package adns
Index: client/Makefile.in =================================================================== --- client/Makefile.in.orig +++ client/Makefile.in @@ -58,9 +58,9 @@ ALL_OBJS= $(ADH_OBJS) $(TARG_OBJS) all: $(TARGETS) install: $(TARG_INSTALL) - mkdir -p $(bindir) + $(INSTALL_PROGRAM) -d $(DESTDIR)/$(bindir) set -xe; for f in $(TARG_INSTALL); \ - do $(INSTALL_PROGRAM) $$f $(bindir)/$$f; done + do $(INSTALL_PROGRAM) $$f $(DESTDIR)/$(bindir)/$$f; done uninstall: for f in $(TARGETS); do rm -f $(bindir)/$$f; done Index: dynamic/Makefile.in =================================================================== --- dynamic/Makefile.in.orig +++ dynamic/Makefile.in @@ -30,10 +30,10 @@ include $(srcdir)/../src/adns.make ALLOBJS= $(addsuffix _p.o, $(basename $(LIBOBJS))) install: - mkdir -p $(libdir) - $(INSTALL_PROGRAM) $(SHLIBFILE) $(libdir)/$(SHLIBFILE) - ln -sf $(SHLIBFILE) $(libdir)/$(SHLIBSONAME) - ln -sf $(SHLIBSONAME) $(libdir)/$(SHLIBFORLINK) + $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir) + $(INSTALL_PROGRAM) $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBFILE) + ln -sf $(SHLIBFILE) $(DESTDIR)/$(libdir)/$(SHLIBSONAME) + ln -sf $(SHLIBSONAME) $(DESTDIR)/$(libdir)/$(SHLIBFORLINK) uninstall: rm -f $(libdir)/$(SHLIBFILE) $(libdir)/$(SHLIBSONAME) Index: src/Makefile.in =================================================================== --- src/Makefile.in.orig +++ src/Makefile.in @@ -30,10 +30,11 @@ include $(srcdir)/adns.make DIRCFLAGS= -I. -I$(srcdir) install: - mkdir -p $(libdir) $(includedir) + $(INSTALL_PROGRAM) -d $(DESTDIR)/$(libdir) + $(INSTALL_PROGRAM) -d $(DESTDIR)/$(includedir) set -xe; for f in $(TARGETS); \ - do $(INSTALL_DATA) $$f $(libdir)/$$f; done - $(INSTALL_DATA) $(srcdir)/../src/adns.h $(includedir)/adns.h + do $(INSTALL_DATA) $$f $(DESTDIR)/$(libdir)/$$f; done + $(INSTALL_DATA) $(srcdir)/../src/adns.h $(DESTDIR)/$(includedir)/adns.h uninstall: for f in $(TARGETS); do rm -f $(libdir)/$$f; done
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