girara 0.1.6
[git/cygwin-packages/girara.git] / 0.1.6-cygwin.patch
CommitLineData
2900708c
YS
1--- origsrc/girara-0.1.6/Makefile 2013-05-12 16:09:14.000000000 -0500
2+++ src/girara-0.1.6/Makefile 2013-07-30 12:53:48.335521400 -0500
3@@ -49,15 +49,15 @@ ${DOBJECTS}: config.mk version.h
4
5 ${PROJECT}: static shared
6 static: lib${PROJECT}.a
7-shared: lib${PROJECT}.so.${SOVERSION}
8+shared: cyg${PROJECT}-${SOMAJOR}.dll
9
10 lib${PROJECT}.a: ${OBJECTS}
11 $(ECHO) AR rcs $@
12 $(QUIET)ar rcs $@ ${OBJECTS}
13
14-lib${PROJECT}.so.${SOVERSION}: ${OBJECTS}
15+cyg${PROJECT}-${SOMAJOR}.dll: ${OBJECTS}
16 $(ECHO) LD $@
17- $(QUIET)${CC} -Wl,-soname,lib${PROJECT}.so.${SOMAJOR} -shared ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
18+ $(QUIET)${CC} -Wl,--out-implib,lib${PROJECT}.dll.a -shared ${LDFLAGS} -o $@ ${OBJECTS} ${LIBS}
19
20 clean:
21 $(QUIET)rm -rf ${OBJECTS} ${PROJECT}-${VERSION}.tar.gz \
22@@ -128,12 +128,10 @@ install-static: static
23
24 install-shared: shared
25 $(ECHO) installing shared library
26+ $(QUIET)mkdir -m 755 -p ${DESTDIR}${BINDIR}
27 $(QUIET)mkdir -m 755 -p ${DESTDIR}${LIBDIR}
28- $(QUIET)install -m 644 lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}
29- $(QUIET)ln -s lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so.${SOMAJOR} || \
30- echo "Failed to create lib${PROJECT}.so.${SOMAJOR}. Please check if it exists and points to the correct version of lib${PROJECT}.so."
31- $(QUIET)ln -s lib${PROJECT}.so.${SOVERSION} ${DESTDIR}${LIBDIR}/lib${PROJECT}.so || \
32- echo "Failed to create lib${PROJECT}.so. Please check if it exists and points to the correct version of lib${PROJECT}.so."
33+ $(QUIET)install -m 644 cyg${PROJECT}-${SOMAJOR}.dll ${DESTDIR}${BINDIR}
34+ $(QUIET)install -m 644 lib${PROJECT}.dll.a ${DESTDIR}${LIBDIR}
35
36 install: options po install-static install-shared install-headers
37 $(QUIET)${MAKE} -C po install
38--- origsrc/girara-0.1.6/config.mk 2013-05-12 16:09:14.000000000 -0500
39+++ src/girara-0.1.6/config.mk 2013-07-30 12:53:00.053759800 -0500
40@@ -17,6 +17,7 @@ SOVERSION = ${SOMAJOR}.${SOMINOR}
41
42 # paths
43 PREFIX ?= /usr
44+BINDIR ?= ${PREFIX}/bin
45 LIBDIR ?= ${PREFIX}/lib
46 INCLUDEDIR ?= ${PREFIX}/include
47 # locale directory
This page took 0.02436 seconds and 5 git commands to generate.