From 22ac3fe0223e85e0a566860ada7186c6e499c63d Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 24 Mar 2000 01:24:35 +0000 Subject: [PATCH] Repair those few links. Shesh ! :) --- x11/xforms/Makefile | 8 +++----- x11/xforms/patches/patch-aa | 32 +++++++++++++++++--------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile index adaf6f984a6..c83c2d2ad52 100644 --- a/x11/xforms/Makefile +++ b/x11/xforms/Makefile @@ -1,6 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2000/03/24 01:00:40 turan Exp $ - -BROKEN= fake problems. bad links. +# $OpenBSD: Makefile,v 1.10 2000/03/24 01:24:35 espie Exp $ DISTNAME= bxform-088 PKGNAME= xforms-0.88 @@ -8,7 +6,7 @@ WRKDIST= ${WRKDIR}/xforms CATEGORIES= x11 NEED_VERSION= 1.227 MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/%SUBDIR%/ - +HOMEPAGE= http://world.std.com/~xforms/ MAINTAINER= ports@openbsd.org PERMIT_PACKAGE_CDROM= No Fee @@ -34,7 +32,7 @@ OBJMACHINE= Yes NO_BUILD= Yes USE_X11= Yes FAKE= Yes -FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX} +FAKE_FLAGS= PREFIX=${PREFIX} DESTDIR=${WRKINST} post-patch: mv ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig diff --git a/x11/xforms/patches/patch-aa b/x11/xforms/patches/patch-aa index 072478ce2d8..6e4687004af 100644 --- a/x11/xforms/patches/patch-aa +++ b/x11/xforms/patches/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Feb 26 04:03:26 1998 -+++ Makefile Fri May 8 15:56:29 1998 +--- Makefile.orig Sat Nov 15 05:08:26 1997 ++++ Makefile Fri Mar 24 02:22:35 2000 @@ -25,24 +25,27 @@ @(cd DEMOS; make) @@ -7,19 +7,20 @@ - cp FORMS/$(FORMLIB) $(LIB_DIR);chmod $(LIBMODE) $(LIB_DIR)/$(FORMLIB) - cp DESIGN/fdesign $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fdesign - cp fd2ps/fd2ps $(BIN_DIR); chmod $(BINMODE) $(BIN_DIR)/fd2ps -+ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(LIB_DIR) -+ $(RANLIB) $(LIB_DIR)/$(FORMLIB) ++ ${BSD_INSTALL_DATA} FORMS/$(FORMLIB) $(DESTDIR)$(LIB_DIR) ++ $(RANLIB) $(DESTDIR)$(LIB_DIR)/$(FORMLIB) + if [ "$(STATIC_NAME)" != "" ]; then\ -+ $(LN) $(LIB_DIR)/$(FORMLIB) $(LIB_DIR)/$(STATIC_NAME);\ ++ $(LN) $(LIB_DIR)/$(FORMLIB) $(DESTDIR)$(LIB_DIR)/$(STATIC_NAME);\ + fi -+ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(BIN_DIR) -+ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(BIN_DIR) ++ ${BSD_INSTALL_PROGRAM} DESIGN/fdesign $(DESTDIR)$(BIN_DIR) ++ ${BSD_INSTALL_PROGRAM} fd2ps/fd2ps $(DESTDIR)$(BIN_DIR) -@if [ "$(SHARED_LIB)" != "" ]; then\ - cp FORMS/$(SHARED_LIB) $(LIB_DIR); \ - chmod $(LIBMODE) $(LIB_DIR)/$(SHARED_LIB);\ -+ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(LIB_DIR); \ ++ ${BSD_INSTALL_DATA} FORMS/$(SHARED_LIB) $(DESTDIR)$(LIB_DIR); \ if [ "$(SHARED_NAME)" != "" ]; then\ - $(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\ +- $(LN) $(LIB_DIR)/$(SHARED_LIB) $(LIB_DIR)/$(SHARED_NAME);\ ++ $(LN) $(LIB_DIR)/$(SHARED_LIB) $(DESTDIR)$(LIB_DIR)/$(SHARED_NAME);\ fi \ fi - cp FORMS/$(FORMHEADER) $(HEADER_DIR);\ @@ -27,13 +28,14 @@ - cp FORMS/xforms.5 $(MAN5_DIR); chmod $(MANMODE) $(MAN5_DIR)/xforms.5 - cp DESIGN/fdesign.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fdesign.1 - cp fd2ps/fd2ps.1 $(MAN1_DIR); chmod $(MANMODE) $(MAN1_DIR)/fd2ps.1 -+ ${BSD_INSTALL_DATA} FORMS/$(FORMHEADER) $(HEADER_DIR) -+ ${BSD_INSTALL_MAN} FORMS/xforms.5 $(MAN5_DIR) -+ ${BSD_INSTALL_MAN} DESIGN/fdesign.1 $(MAN1_DIR) -+ ${BSD_INSTALL_MAN} fd2ps/fd2ps.1 $(MAN1_DIR) - @if [ ! -f $(MAN5_DIR)/forms.5 ]; then\ +- @if [ ! -f $(MAN5_DIR)/forms.5 ]; then\ - ln -s $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\ -+ $(LN) $(MAN5_DIR)/xforms.5 $(MAN5_DIR)/forms.5;\ ++ ${BSD_INSTALL_DATA} FORMS/$(FORMHEADER) $(DESTDIR)$(HEADER_DIR) ++ ${BSD_INSTALL_MAN} FORMS/xforms.5 $(DESTDIR)$(MAN5_DIR) ++ ${BSD_INSTALL_MAN} DESIGN/fdesign.1 $(DESTDIR)$(MAN1_DIR) ++ ${BSD_INSTALL_MAN} fd2ps/fd2ps.1 $(DESTDIR)$(MAN1_DIR) ++ @if [ ! -f $(DESTDIR)$(MAN5_DIR)/forms.5 ]; then\ ++ $(LN) $(MAN5_DIR)/xforms.5 $(DESTDIR)$(MAN5_DIR)/forms.5;\ fi + clean: