37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2011/11/02 09:10:54 ajacoutot Exp $
|
|
|
|
Leftover (?), GoogleBase was removed upstream.
|
|
|
|
--- Makefile.orig Thu Jul 28 20:15:09 2011
|
|
+++ Makefile Wed Nov 2 09:27:20 2011
|
|
@@ -4,7 +4,7 @@ CSC=gmcs
|
|
DEFINES=/d:TRACE
|
|
|
|
VERSION=$(shell egrep AssemblyVersion version/AssemblyVersion.cs | egrep -o \([[:digit:]]\.\)+[[:digit:]]+)
|
|
-PREFIX=/usr/local
|
|
+PREFIX?=/usr/local
|
|
PKGCONFIGDIR = $(PREFIX)/lib/pkgconfig
|
|
|
|
CORELIBS=\
|
|
@@ -22,7 +22,6 @@ ALLLIBS = \
|
|
Google.GData.Client.dll \
|
|
Google.GData.CodeSearch.dll \
|
|
Google.GData.Extensions.dll \
|
|
- Google.GData.GoogleBase.dll \
|
|
Google.GData.Spreadsheets.dll \
|
|
Google.GData.Apps.dll \
|
|
Google.GData.Photos.dll \
|
|
@@ -122,9 +121,9 @@ clean:
|
|
-rm -f *.sn *.dll *exe $(PKGCONFIG_FILES)
|
|
|
|
install: all
|
|
- for i in $(ALLLIBS); do gacutil -i $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
|
|
- install -d "$(DESTDIR)$(PKGCONFIGDIR)"
|
|
- install -m 644 -t "$(DESTDIR)$(PKGCONFIGDIR)" $(PKGCONFIG_FILES)
|
|
+ for i in $(ALLLIBS); do gacutil -i $$i -package GData-Sharp -root "$(PREFIX)/lib"; done
|
|
+ install -d "$(PKGCONFIGDIR)"
|
|
+ install -m 644 $(PKGCONFIG_FILES) "$(PKGCONFIGDIR)"
|
|
|
|
uninstall:
|
|
for i in $(UNINSTALLLIBS); do gacutil -u $$i -package GData-Sharp -root "$(DESTDIR)$(PREFIX)/lib"; done
|