Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:PowerPC:NonFree
snipl
snipl-0.3.0.0-hwmcaapidir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File snipl-0.3.0.0-hwmcaapidir.patch of Package snipl
--- snipl-0.2.3.3/Makefile 2014-01-16 07:23:34.000000000 -0500 +++ snipl-0.2.3.3/Makefile 2014-01-16 13:41:12.000000000 -0500 @@ -43,7 +43,7 @@ GROUP = $(shell id -gn) GLIB2_HEADERS = `pkg-config --cflags glib-2.0` -CFLAGS += -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I$(INCDIR) -I$(STONITHINCDIR) -I$(HEARTBEATINCDIR) -D_FORTIFY_SOURCE=2 +CFLAGS += -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I$(INCDIR) -I$(HWMCAAPI_DIR)/usr/include -I$(STONITHINCDIR) -D_FORTIFY_SOURCE=2 -I$(HEARTBEATINCDIR) all: all_snconfig all_sniplapi all_vmsmapi all_snipl all_sncap all_stonith install: install_subdirs install_snconfig install_sniplapi install_vmsmapi install_snipl install_sncap install_stonith @@ -83,17 +83,17 @@ rm -f $(LIBDIR)/libsnconfig.so -ifeq ($(shell if [ -f /usr/${LIB_STRING}/libhwmcaapi.so ]; \ +ifeq ($(shell if [ -f $(HWMCAAPI_DIR)/usr/${LIB_STRING}/libhwmcaapi.so ]; \ then echo ok; fi),ok) -LIB_LPAR = -lsniplapi -lhwmcaapi +LIB_LPAR = -L$(HWMCAAPI_DIR)/usr/${LIB_STRING} -lsniplapi -lhwmcaapi LPAR_INCLUDED = -DLPAR_INCLUDED=1 OBJ_LPAR = libsniplapi.so libsnconfig.so all_sniplapi: libsniplapi.so libsniplapi.so: sniplapi.o - $(LINK.c) -o $@ -shared sniplapi.o -lhwmcaapi + $(LINK.c) -o $@ -shared -L$(HWMCAAPI_DIR)/usr/${LIB_STRING} sniplapi.o -lhwmcaapi sniplapi.o: sniplapi.c snipl.h $(CC) $(CFLAGS) -c -fPIC sniplapi.c @@ -267,12 +267,12 @@ endif -ifeq ($(shell if [ -f /usr/${LIB_STRING}/libhwmcaapi.so ]; \ +ifeq ($(shell if [ -f $(HWMCAAPI_DIR)/usr/${LIB_STRING}/libhwmcaapi.so ]; \ then echo ok; fi),ok) all_sncap: sncap.o sncapjob.o sncaputil.o sncapconf.o sncapdsm.o sncapapi.o \ sncaptcr.o sncapcpc.o - $(LINK.c) -o sncap sncap.o sncapjob.o \ + $(LINK.c) -o sncap -L$(HWMCAAPI_DIR)/usr/${LIB_STRING} sncap.o sncapjob.o \ sncaputil.o sncapconf.o sncapdsm.o sncapapi.o sncaptcr.o \ sncapcpc.o -lhwmcaapi
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