Projects
Eulaceura:Mainline:GA
http_load
_service:obs_scm:http_load-fix-install-path-iss...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:http_load-fix-install-path-issue.patch of Package http_load
diff -urN http_load-09Mar2016-bak/Makefile http_load-09Mar2016/Makefile --- http_load-09Mar2016-bak/Makefile 2020-05-02 00:17:25.002098785 +0800 +++ http_load-09Mar2016/Makefile 2020-05-02 00:26:03.961730206 +0800 @@ -15,8 +15,8 @@ #SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcrypto -BINDIR = /usr/local/bin -MANDIR = /usr/local/man/man1 +BINDIR = ${PREFIX}/usr/bin +MANDIR = ${PREFIX}//usr/share/man/man1 CC = cc CFLAGS = -O $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC) -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long LDFLAGS = -s $(SSL_LIBS) $(SYSV_LIBS) @@ -30,10 +30,12 @@ $(CC) $(CFLAGS) -c timers.c install: all - rm -f $(BINDIR)/http_load - cp http_load $(BINDIR) - rm -f $(MANDIR)/http_load.1 - cp http_load.1 $(MANDIR) + mkdir -p ${BINDIR};\ + mkdir -p ${MANDIR};\ + cp http_load $(BINDIR); \ + cp http_load.1 $(MANDIR); \ + chmod 755 ${BINDIR}/http_load; \ + chmod 644 ${MANDIR}/http_load.1 clean: rm -f http_load *.o core core.* *.core
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2