openbsd-ports/databases/iodbc/patches/patch-samples_Makefile_in
sthen b13f5eb09d update iodbc to 3.52.7, maintainer timeout
- while there, tweak the sample installed ini files to give
examples that can work with ODBC drivers available in ports

- take maintainer
2011-06-16 01:29:57 +00:00

17 lines
885 B
Plaintext

$OpenBSD: patch-samples_Makefile_in,v 1.4 2011/06/16 01:29:57 sthen Exp $
--- samples/Makefile.in.orig Thu Sep 10 15:34:57 2009
+++ samples/Makefile.in Fri Jun 3 11:28:05 2011
@@ -627,9 +627,9 @@ uninstall-am: uninstall-binPROGRAMS
install-exec-hook:
- $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/samples
- cp $(srcdir)/iodbctest.c ${DESTDIR}${pkgdatadir}/samples/iodbctest.c
- cp $(srcdir)/Makefile.sample ${DESTDIR}${pkgdatadir}/samples/Makefile
+ $(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
+ cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
+ cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
@DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctest -remove ppc64 -output ${DESTDIR}${bindir}/iodbctest
@DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctestw -remove ppc64 -output ${DESTDIR}${bindir}/iodbctestw