Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
dbench4
build-fix-paths.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File build-fix-paths.diff of Package dbench4
Rename binaries to *4 so it can be installed along with dbench v3, add DESTDIR paths. Index: dbench-4.0/Makefile.in =================================================================== --- dbench-4.0.orig/Makefile.in +++ dbench-4.0/Makefile.in @@ -19,28 +19,28 @@ DB_OBJS = fileio.o util.o dbench.o child TB_OBJS = sockio.o util.o dbench.o child.o socklib.o snprintf.o SRV_OBJS = util.o tbench_srv.o socklib.o -all: dbench tbench tbench_srv +all: dbench4 tbench4 tbench4_srv -dbench: $(DB_OBJS) +dbench4: $(DB_OBJS) $(CC) -o $@ $(DB_OBJS) $(LIBS) -tbench: $(TB_OBJS) +tbench4: $(TB_OBJS) $(CC) -o $@ $(TB_OBJS) $(LIBS) -tbench_srv: $(SRV_OBJS) +tbench4_srv: $(SRV_OBJS) $(CC) -o $@ $(SRV_OBJS) $(LIBS) # Careful here: don't install client.txt over itself. install: all - ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir) - ${INSTALLCMD} dbench tbench tbench_srv $(bindir) - ${INSTALLCMD} client.txt $(datadir) - ${INSTALLCMD} -m644 dbench.1 $(mandir) - ln -sf dbench.1 $(mandir)/tbench.1 - ln -sf dbench.1 $(mandir)/tbench_srv.1 + ${INSTALLCMD} -d -m 0755 $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/dbench4 $(DESTDIR)$(mandir)/man1 + ${INSTALLCMD} dbench4 tbench4 tbench4_srv $(DESTDIR)$(bindir) + ${INSTALLCMD} client.txt $(DESTDIR)$(datadir)/dbench4 + ${INSTALLCMD} -m 644 dbench.1 $(DESTDIR)$(mandir)/man1/dbench4.1 + ln -sf dbench4.1 $(DESTDIR)$(mandir)/man1/tbench4.1 + ln -sf dbench4.1 $(DESTDIR)$(mandir)/man1/tbench4_srv.1 clean: - rm -f *.o *~ dbench tbench tbench_srv + rm -f *.o *~ dbench4 tbench4 tbench4_srv proto: ./mkproto.pl *.c > proto.h
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