openbsd-ports/devel/geotiff/patches/patch-Makefile_in
jason 067739ebd3 pull in some changes from Eric Faurot's port:
- use our semantics for shared libs instead of linux
- pass -with-{jpeg/proj/libtiff}=${LOCALBASE} in CONFIGURE_ARGS
also bump package to p0
2007-05-30 20:41:53 +00:00

30 lines
1.0 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2007/05/30 20:41:54 jason Exp $
--- Makefile.in.orig Thu Mar 16 10:18:49 2006
+++ Makefile.in Thu Mar 16 10:50:17 2006
@@ -101,8 +101,8 @@ libgeotiff.a: ${OBJS}
$(GEOTIFF_SO): ${OBJS}
${LD_SHARED} ${OBJS} ${LIBS} -o $(GEOTIFF_SO)
- rm -f libgeotiff.$(SO_EXT)
- ${LN} $(GEOTIFF_SO) libgeotiff.$(SO_EXT)
+# rm -f libgeotiff.$(SO_EXT)
+# ${LN} $(GEOTIFF_SO) libgeotiff.$(SO_EXT)
Progs:
${CD} ${BIN};\
@@ -206,14 +206,6 @@ install:
$(INSTALL) $(GEOTIFF_SO) $(DESTDIR)${bindir}; \
else \
$(INSTALL) $(GEOTIFF_SO) $(DESTDIR)${libdir}; \
- (cd $(DESTDIR)${libdir} ; \
- rm -f libgeotiff.$(SO_EXT).$(VERSION_MAJOR).$(VERSION_MINOR); \
- ${LN} $(GEOTIFF_SO) libgeotiff.$(SO_EXT).$(VERSION_MAJOR).$(VERSION_MINOR); \
- rm -f libgeotiff.$(SO_EXT).$(VERSION_MAJOR); \
- ${LN} libgeotiff.$(SO_EXT).$(VERSION_MAJOR).$(VERSION_MINOR) \
- libgeotiff.$(SO_EXT).$(VERSION_MAJOR); \
- rm -f libgeotiff.$(SO_EXT); \
- ${LN} libgeotiff.$(SO_EXT).$(VERSION_MAJOR) libgeotiff.$(SO_EXT); );\
fi;\
fi