Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
deepin-api
disable-gosrc-install-in-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File disable-gosrc-install-in-makefile.patch of Package deepin-api
diff -Nur dde-api-5.5.5/Makefile dde-api-5.5.5-new/Makefile --- dde-api-5.5.5/Makefile 2021-11-16 15:43:41.000000000 +0800 +++ dde-api-5.5.5-new/Makefile 2022-02-18 21:37:38.361644793 +0800 @@ -5,7 +5,7 @@ libdir = /lib SYSTEMD_LIB_DIR = ${libdir} SYSTEMD_SERVICE_DIR = ${SYSTEMD_LIB_DIR}/systemd/system/ -GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build +# GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build export GO111MODULE=off LIBRARIES = \ @@ -98,15 +98,15 @@ cp -R misc/icons/* ${DESTDIR}${PREFIX}/share/icons/hicolor build-dev: prepare - ${GOBUILD} $(addprefix ${GOPKG_PREFIX}/, ${LIBRARIES}) +# ${GOBUILD} $(addprefix ${GOPKG_PREFIX}/, ${LIBRARIES}) -install/lib/%: - mkdir -pv ${DESTDIR}${GOSITE_DIR}/src/${GOPKG_PREFIX} - cp -R ${CURDIR}/${GOBUILD_DIR}/src/${GOPKG_PREFIX}/${@F} ${DESTDIR}${GOSITE_DIR}/src/${GOPKG_PREFIX} +#install/lib/%: +# mkdir -pv ${DESTDIR}${GOSITE_DIR}/src/${GOPKG_PREFIX} +# cp -R ${CURDIR}/${GOBUILD_DIR}/src/${GOPKG_PREFIX}/${@F} ${DESTDIR}${GOSITE_DIR}/src/${GOPKG_PREFIX} install-dev: ${addprefix install/lib/, ${LIBRARIES}} -install: install-binary install-dev +install: install-binary clean: rm -rf out/bin gobuild out
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