openbsd-ports/devel/ddd/patches/patch-ddd_Makefile_in

36 lines
1.2 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-ddd_Makefile_in,v 1.6 2009/11/30 23:45:35 edd Exp $
--- ddd/Makefile.in.orig Wed Feb 11 17:25:55 2009
+++ ddd/Makefile.in Mon Sep 28 09:40:49 2009
@@ -499,8 +499,8 @@ SUFFIXES = .C .c .Y .L .txt .xbm .xbmxx .xpm .xpmxx \
# Shared data installation
-dddrootdir = $(pkgdatadir)-$(VERSION)
-dddappdir = $(pkgdatadir)-$(VERSION)/$(ddd)
+dddrootdir = $(pkgdatadir)
+dddappdir = $(pkgdatadir)/$(ddd)
# -----------------------------------------------------------------------------
# DDD Sources.
@@ -2718,18 +2718,8 @@ configinfo.C: USERINFO.txt $(srcdir)/config-info
2005-06-28 15:31:56 -04:00
$(SHELL) $(srcdir)/config-info $(srcdir)/USERINFO.txt USERINFO.txt > $@~ && \
2002-03-21 00:28:20 -05:00
$(MV) $@~ $@
2005-06-28 15:31:56 -04:00
-# If `~/.ddd_userinfo' exists, use this file as personal identification.
-USERINFO.txt: userinfo$(EXEEXT)
- -(cat $$HOME/.ddd_userinfo 2> /dev/null || \
- ./userinfo || echo '(unknown)') > $@~ && $(MV) $@~ $@
- @$(ECHO) ""
- @$(ECHO) "Please check your name and e-mail address:"
- @$(ECHO) ""
- @$(CAT) $@
- @$(ECHO) ""
- @$(ECHO) "This information will be compiled into $(DDD)."
- @$(ECHO) "If it is not correct, please edit $@ and re-compile."
- @$(ECHO) ""
2005-06-28 15:31:56 -04:00
+USERINFO.txt:
+ echo ${MAINTAINER} >$@
2002-03-21 00:28:20 -05:00
# EPS code stuff.
$(srcdir)/header.str: $(srcdir)/header.ps