openbsd-ports/databases/iodbc/patches/patch-samples_Makefile_in
simon d7d07e0294 check if macro is defined before using it and regen patches
looks fine to MAINTAINER and sthen@, ok merdely@
2007-12-11 00:34:30 +00:00

17 lines
746 B
Plaintext

$OpenBSD: patch-samples_Makefile_in,v 1.2 2007/12/11 00:34:30 simon Exp $
--- samples/Makefile.in.orig Thu Jan 26 16:59:17 2006
+++ samples/Makefile.in Sun Dec 9 21:49:14 2007
@@ -571,9 +571,9 @@ uninstall-am: uninstall-binPROGRAMS uninstall-info-am
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
uninstall-hook:
rm -f ${DESTDIR}${pkgdatadir}/samples/iodbctest.c