gnucap/gnucap-0.34-install.patch

25 lines
1.0 KiB
Diff
Raw Permalink Normal View History

diff -ur gnucap-2006-01-17/src/Makefile.in gnucap-2006-01-17-qilnx/src/Makefile.in
--- gnucap-2006-01-17/src/Makefile.in 2006-01-18 03:52:29.000000000 +0100
+++ gnucap-2006-01-17-qilnx/src/Makefile.in 2006-03-20 13:23:08.000000000 +0100
@@ -128,15 +128,15 @@
#-----------------------------------------------------------------------------
# Note that the /usr/local directory is overwritten by configure.
install: nothing
- if test -d /usr/local/bin; then \
- cp O/gnucap /usr/local/bin/gnucap; \
+ if test -d ${DESTDIR}/usr/local/bin; then \
+ cp O/gnucap ${DESTDIR}/usr/local/bin/gnucap; \
else \
- mkdir -p /usr/local/bin && \
- cp O/gnucap /usr/local/bin/gnucap; \
+ mkdir -p ${DESTDIR}/usr/local/bin && \
+ cp O/gnucap ${DESTDIR}/usr/local/bin/gnucap; \
fi
#-----------------------------------------------------------------------------
uninstall: clean
- -rm /usr/local/bin/gnucap
+ -rm ${DESTDIR}/usr/local/bin/gnucap
#-----------------------------------------------------------------------------
unconfig:
rm -f Makefile