Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 1998 12:16:31 +0100
From:      Johan Karlsson <k@numeri.campus.luth.se>
To:        ports@FreeBSD.ORG
Subject:   Xaw3d-1.3
Message-ID:  <34FA950F.167EB0E7@numeri.campus.luth.se>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--------------794BDF32446B9B3D2781E494
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,
I'm having problems with the port x11/Xaw3d

When installing the port using "make install" 
A new dir Xaw3d is supposed to be created in /usr/X11R6/include/X11

But the dir X11/Xaw3d is created, thus the path to the new dir is
/usr/X11R6/include/X11/X11/Xaw3d instead of
/usr/X11R6/include/X11/Xaw3d 

My quick and dirty fix was to make a symbolic link X11 -> . 
in /usr/X11R6/include/X11 

In the auto generated Makefile in
$(MY_PORT_DIR)/x11/Xaw3d/work/xc/lib/Xaw3d
I found these lines:

...
INCROOT = /usr/X11R6/include
...
INCDIR = $(INCROOT)/X11
...
install:: $(HEADERS)
        @if [ -d $(DESTDIR)$(INCDIR)/X11/Xaw3d ]; then set +x; \
        else (set -x; $(MKDIRHIER) $(DESTDIR)$(INCDIR)/X11/Xaw3d); fi
        @for flag in ${MAKEFLAGS} ''; do \
        case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
        for i in $(HEADERS); do \
        (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTINCFLAGS) $$i
$(DESTDIR)$(INCDIR)/X11/Xaw3d); \
        done
...

(OBS line breaks by mail program)

>From this I understand that INCDIR (or the rule install) is wrong. But I
do not know where to correct the problem, since I'm not familiar with
the port Makefiles.



The Makefile for the port x11/Xaw3d is attached if you need information
in it.


I hope my description of the problem is understandable, if not please
mail me.


Sincerly
Johan Karlsson		mailto:k@numeri.campus.luth.se
Professorsv 29 v3	http://jota.sm.luth.se/~d93-jkn/
977 51 LULEÅ		phone: +46 (0)920 997 96
SWEDEN

--------------794BDF32446B9B3D2781E494
Content-Type: text/plain; charset=us-ascii; name="Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Makefile"

# New ports collection makefile for:	Xaw3d
# Version required:	1.3
# Date created:		18 November 1994
# Whom:			asami
#
# $Id: Makefile,v 1.16 1997/12/29 13:29:24 asami Exp $
#

DISTNAME=	Xaw3d-1.3
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	widgets/Xaw3d/R6.1

MAINTAINER=	ports@FreeBSD.ORG

WRKSRC=		${WRKDIR}/xc/lib/Xaw3d
USE_IMAKE=	yes

post-extract:
	${MKDIR} ${WRKSRC}/X11/Xaw3d
	cd ${WRKSRC}/X11/Xaw3d; ln -sf ../../*.h .

post-install:
	${LDCONFIG} -m ${PREFIX}/lib
	${MKDIR} ${PREFIX}/share/doc/Xaw3d
	${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d

.include <bsd.port.mk>

--------------794BDF32446B9B3D2781E494--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34FA950F.167EB0E7>