PREFIX is being ignored

Paul Schmehl pauls at utdallas.edu
Tue Dec 13 15:04:03 PST 2005


I'm working on updating the iwidgets port.  For some reason, PREFIX is 
being completely ignored when I try to set it on the cli.

Here's the Makefile as it stands now.  I tried adding --prefix=${PREFIX} \
 
--exec-prefix=${PREFIX}
to the configure options, but it didn't make any difference.

Why is the install ignoring PREFIX when I set it on the cli?

# New ports collection makefile for:    itk
# Date created:         Aug 17 1996
# Whom:                 chuckr
#
# $FreeBSD: ports/x11-toolkits/iwidgets/Makefile,v 1.12 2003/12/21 00:23:25 
sergei Exp $
#

PORTNAME=       iwidgets
PORTVERSION=    4.0.1
CATEGORIES=     x11-toolkits tk83
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=incrtcl
DISTNAME=       iwidgets${PORTVERSION}
DISTFILES=      itcl3.2.1_src.tgz ${PORTNAME}${PORTVERSION}.tar.gz
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER=     pauls at utdallas.edu
COMMENT=        Iwidgets - [incr Widgets]

LIB_DEPENDS=    tcl84:${PORTSDIR}/lang/tcl84 \
                tk84:${PORTSDIR}/x11-toolkits/tk84 \
                itk32.1:${PORTSDIR}/x11-toolkits/itk

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
                --with-tk=${LOCALBASE}/lib/tk8.4 \
                --with-itcl=${WRKDIR}/itcl3.2.1
SUB_LIST=       IWIDGETS=${DISTNAME}
SUB_FILES=      pkg-message
PLIST_SUB=      IWIDGETS=${DISTNAME}

MANN=   iwidgets_buttonbox.n iwidgets_calendar.n iwidgets_canvasprintbox.n 
iwidgets_canvasprintdialog.n \
        iwidgets_checkbox.n iwidgets_combobox.n iwidgets_dateentry.n 
iwidgets_datefield.n iwidgets_dialog.n \
        iwidgets_dialogshell.n iwidgets_disjointlistbox.n 
iwidgets_entryfield.n iwidgets_extbutton.n \
        iwidgets_extfileselectionbox.n iwidgets_extfileselectiondialog.n 
iwidgets_feedback.n \
        iwidgets_fileselectionbox.n iwidgets_fileselectiondialog.n 
iwidgets_finddialog.n iwidgets_hierarchy.n \
        iwidgets_hyperhelp.n iwidgets_labeledframe.n 
iwidgets_labeledwidget.n iwidgets_mainwindow.n \
        iwidgets_menubar.n iwidgets_messagebox.n iwidgets_messagedialog.n 
iwidgets_notebook.n \
        iwidgets_optionmenu.n iwidgets_panedwindow.n 
iwidgets_promptdialog.n iwidgets_pushbutton.n \
        iwidgets_radiobox.n iwidgets_scopedobject.n 
iwidgets_scrolledcanvas.n iwidgets_scrolledframe.n \
        iwidgets_scrolledhtml.n iwidgets_scrolledlistbox.n 
iwidgets_scrolledtext.n iwidgets_selectionbox.n \
        iwidgets_selectiondialog.n iwidgets_shell.n iwidgets_spindate.n 
iwidgets_spinint.n iwidgets_spinner.n \
        iwidgets_spintime.n iwidgets_tabnotebook.n iwidgets_tabset.n 
iwidgets_timeentry.n iwidgets_timefield.n \
        iwidgets_toolbar.n iwidgets_watch.n

post-install:

        @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-ports mailing list