Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
snipl
snipl-0.2.1.2-hwmcaapidir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File snipl-0.2.1.2-hwmcaapidir.patch of Package snipl
--- Makefile +++ Makefile @@ -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) +CFLAGS += -DUNIX=1 -DST_TEXTDOMAIN='"stonith"' -g -O2 -Wall -I. -I$(INCDIR) -I$(HWMCAAPI_DIR)/usr/include -I$(STONITHINCDIR) all: all_config all_sniplapi all_vmsmapi all_snipl all_stonith install: install_subdirs install_config install_sniplapi install_vmsmapi install_snipl install_stonith @@ -74,17 +74,17 @@ install $(INSTALL_FLAGS) libconfig.so $(LIBDIR) -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 libconfig.so all_sniplapi: libsniplapi.so libsniplapi.so: sniplapi.o - $(LINK.c) -o $@ -shared -lhwmcaapi sniplapi.o + $(LINK.c) -o $@ -shared -L$(HWMCAAPI_DIR)/usr/${LIB_STRING} -lhwmcaapi sniplapi.o sniplapi.o: sniplapi.c snipl.h $(CC) $(CFLAGS) -c -fPIC sniplapi.c
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