openbsd-ports/lang/gprolog/patches/patch-Makefile_in
jasper 49b2c85ee6 - update gprolog to 1.3.1
- unbreak it
- enable it on amd64

from daniel dickman and nuno morgadinho (MAINTAINER)

with a tweak by me to honor cflags.
2009-12-27 19:30:21 +00:00

20 lines
696 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1 2009/12/27 19:30:21 jasper Exp $
--- Makefile.in.orig Thu Jan 4 05:21:49 2007
+++ Makefile.in Fri Jun 13 19:37:59 2008
@@ -79,13 +79,13 @@ uninstall: uninstall-links uninstall-html uninstall-do
# --- Links --- #
install-links: uninstall-links
- if test $(LINKS_DIR) != none; then \
+ if test $(LINKS_DIR) != $(DESTDIR)none; then \
./mkinstalldirs $(LINKS_DIR); \
(cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \
fi
uninstall-links:
- -if test $(LINKS_DIR) != none; then \
+ -if test $(LINKS_DIR) != $(DESTDIR)none; then \
(cd $(LINKS_DIR) 2>/dev/null && rm -f $(BIN_FILES)); \
rmdir $(LINKS_DIR) 2>/dev/null; \
fi || exit 0;