fix earlier bogus changes to Makefile where a value that

was defined in bsd.port.mk was checked before bsd.port.mk was included;
this should make ports with optional shared libs build on the alpha,
again.  However, chages require the latest bsd.port.mk
This commit is contained in:
marc 1999-03-02 04:41:00 +00:00
parent 2e1b37d399
commit 99a1ab44b1
22 changed files with 101 additions and 139 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.template,v 1.1 1999/03/01 00:14:07 marc Exp $
# $OpenBSD: Makefile.template,v 1.2 1999/03/02 04:41:00 marc Exp $
#
# Replace ??? with appropriate values
# Remove extraneous comments before commit.
@ -61,10 +61,7 @@ MASTER_SITES= ???
#GNU_CONFIGURE= yes (assumed if USE_AUTOCONF is yes)
#HAS_CONFIGURE= yes (assumed if GNU_CONFIGURE is yes)
#CONFIGURE_SCRIPT= ??? (if other than configure)
#.if !defined(NO_SHARED_LIBS)
#CONFIGURE_ARGS+= --enable-shared
#.endif
#CONFIGURE_ARGS+= --enable-static
#CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
#CONFIGURE_ENV= ???
# Things that we don't want to do for this port/package

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/02/27 15:32:39 rohee Exp $
# $OpenBSD: Makefile,v 1.2 1999/03/02 04:41:01 marc Exp $
#
DISTNAME = glib-1.2.0
CATEGORIES = devel
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER = rohee@OpenBSD.ORG
@ -13,12 +13,7 @@ MASTER_SITES = ftp://ftp.gimp.org/pub/gtk/v1.2/ \
http://www.ameth.org/gimp/gtk/v1.2/
GNU_CONFIGURE = yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS += --enable-shared
.else
CONFIGURE_ARGS += --disable-shared
.endif
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
CONFIGURE_ARGS += --enable-static
post-install:

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 1999/02/21 04:26:10 marc Exp $
# $OpenBSD: Makefile,v 1.9 1999/03/02 04:41:02 marc Exp $
#
DISTNAME= ImageMagick-4.2.0
CATEGORIES= graphics x11
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= marc@openbsd.org
@ -25,9 +25,7 @@ LIB_DEPENDS= jpeg.62.:${PORTSDIR}/graphics/jpeg \
USE_X11= yes
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.4 1999/02/21 04:26:10 marc Exp $
# $OpenBSD: Makefile,v 1.5 1999/03/02 04:41:02 marc Exp $
#
DISTNAME= libggi-2.0b1
CATEGORIES= graphics
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= todd@openbsd.org
@ -19,9 +19,7 @@ MASTER_SITES= ftp://sunsite.unc.edu:/pub/ggi/ggi/2_0_beta_1/ \
USE_GMAKE= YES
GNU_CONFIGURE= YES
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
LIB_DEPENDS= gii\\.0\\.:${PORTSDIR}/graphics/gii

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.4 1999/02/21 04:26:11 marc Exp $
# $OpenBSD: Makefile,v 1.5 1999/03/02 04:41:02 marc Exp $
#
DISTNAME= libgii-0.1
CATEGORIES= graphics
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= todd@openbsd.org
@ -19,10 +19,8 @@ MASTER_SITES= ftp://sunsite.unc.edu:/pub/ggi/ggi/2_0_beta_1/ \
USE_GMAKE= YES
GNU_CONFIGURE= YES
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--enable-static
docdir=${PREFIX}/share/doc/gii

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 1999/02/21 04:26:11 marc Exp $
# $OpenBSD: Makefile,v 1.11 1999/03/02 04:41:03 marc Exp $
#
# What port/package will be created
@ -7,7 +7,7 @@ DISTNAME= gimp-1.0.2
EXTRANAME= gimp-data-extras-1.0.0
CATEGORIES= graphics x11
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= dugsong@openbsd.org
@ -23,9 +23,7 @@ LIB_DEPENDS= gtk\\.1\\.:${PORTSDIR}/x11/gtk+ \
USE_X11= yes
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= ${SETENV} CPPFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib

View File

@ -4,17 +4,15 @@ DISTNAME= jpegsrc.v6b
PKGNAME= jpeg-6b
CATEGORIES= graphics
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= angelos@openbsd.org
MASTER_SITES= ftp://ftp.uu.net/graphics/jpeg/
WRKSRC= ${WRKDIR}/jpeg-6b
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
post-install:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 1999/02/21 04:26:12 marc Exp $
# $OpenBSD: Makefile,v 1.5 1999/03/02 04:41:04 marc Exp $
#
DISTNAME= mpeg_lib-1.2.1
@ -16,6 +16,14 @@ CONFIGURE_ENV= ${SETENV}
WRKSRC= ${WRKDIR}/mpeg_lib
pre-install:
@${MKDIR} -p ${PREFIX}/bin ${PREFIX}/lib ${PREFIX}/include
post-install:
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
# The patches assumed shared libs would be build. If building
# on a host that does not support shared libs, e.g. the alpha,
# apply one more patch.
@ -24,11 +32,3 @@ WRKSRC= ${WRKDIR}/mpeg_lib
post-patch:
@(cd ${DISTDIR}; ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/patch)
.endif
pre-install:
@${MKDIR} -p ${PREFIX}/bin ${PREFIX}/lib ${PREFIX}/include
post-install:
${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.36 1999/02/28 18:17:06 espie Exp $
# $OpenBSD: Makefile,v 1.37 1999/03/02 04:41:04 marc Exp $
# This is a configuration file for egcs, snapshot flavor
# PLEASE use the regular egcs-stable for serious work, resort to this one
# for experimentations and testing.
# it only works right with a recent bsd.port.mk.
NEED_VERSION=1.64
NEED_VERSION=1.73
# we could remove this dependency by patching configure, but this is not
# reasonable...
@ -283,9 +283,7 @@ CONFIGURE_ARGS += --with-ld=${LD_PATH}
CONFIGURE_ARGS += --with-gnu-ld
.endif
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
SEPARATE_BUILD=yes
WRKBUILD=${WRKDIR}/build-${MACHINE_ARCH}
@ -337,9 +335,6 @@ M4FLAGS+= -DOBJC
.if defined(MAKE_JAVA)
M4FLAGS+= -DJAVA
.endif
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif
pre-install:
${M4} ${M4FLAGS} -DARCH=`${WRKSRC}/config.guess` \
@ -347,3 +342,7 @@ pre-install:
<${FILESDIR}/PLIST.template >${PLIST}
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif

View File

@ -3,13 +3,13 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.13 1999/02/26 17:48:37 espie Exp $
# $OpenBSD: Makefile,v 1.14 1999/03/02 04:41:04 marc Exp $
#
# This is a configuration file for egcs, stable release.
# it only works right with a recent bsd.port.mk.
NEED_VERSION=1.64
NEED_VERSION=1.73
# we could remove this dependency by patching configure, but this is not
# reasonable...
@ -200,9 +200,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--verbose --with-gnu-ld --with-gnu-as \
--program-transform-name=s,^,e,
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
WRKBUILD=${WRKDIR}/build-${MACHINE_ARCH}
@ -254,9 +252,6 @@ M4FLAGS+= -DOBJC
.if defined(MAKE_JAVA)
M4FLAGS+= -DJAVA
.endif
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif
pre-install:
${M4} ${M4FLAGS} -DARCH=`${WRKSRC}/config.guess` \
@ -264,3 +259,7 @@ pre-install:
<${FILESDIR}/PLIST.template >${PLIST}
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.36 1999/02/28 18:17:06 espie Exp $
# $OpenBSD: Makefile,v 1.37 1999/03/02 04:41:04 marc Exp $
# This is a configuration file for egcs, snapshot flavor
# PLEASE use the regular egcs-stable for serious work, resort to this one
# for experimentations and testing.
# it only works right with a recent bsd.port.mk.
NEED_VERSION=1.64
NEED_VERSION=1.73
# we could remove this dependency by patching configure, but this is not
# reasonable...
@ -283,9 +283,7 @@ CONFIGURE_ARGS += --with-ld=${LD_PATH}
CONFIGURE_ARGS += --with-gnu-ld
.endif
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
SEPARATE_BUILD=yes
WRKBUILD=${WRKDIR}/build-${MACHINE_ARCH}
@ -337,9 +335,6 @@ M4FLAGS+= -DOBJC
.if defined(MAKE_JAVA)
M4FLAGS+= -DJAVA
.endif
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif
pre-install:
${M4} ${M4FLAGS} -DARCH=`${WRKSRC}/config.guess` \
@ -347,3 +342,7 @@ pre-install:
<${FILESDIR}/PLIST.template >${PLIST}
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif

View File

@ -3,13 +3,13 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.13 1999/02/26 17:48:37 espie Exp $
# $OpenBSD: Makefile,v 1.14 1999/03/02 04:41:04 marc Exp $
#
# This is a configuration file for egcs, stable release.
# it only works right with a recent bsd.port.mk.
NEED_VERSION=1.64
NEED_VERSION=1.73
# we could remove this dependency by patching configure, but this is not
# reasonable...
@ -200,9 +200,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--verbose --with-gnu-ld --with-gnu-as \
--program-transform-name=s,^,e,
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
WRKBUILD=${WRKDIR}/build-${MACHINE_ARCH}
@ -254,9 +252,6 @@ M4FLAGS+= -DOBJC
.if defined(MAKE_JAVA)
M4FLAGS+= -DJAVA
.endif
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif
pre-install:
${M4} ${M4FLAGS} -DARCH=`${WRKSRC}/config.guess` \
@ -264,3 +259,7 @@ pre-install:
<${FILESDIR}/PLIST.template >${PLIST}
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
M4FLAGS+= -DDYNAMIC
.endif

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 1999/02/21 04:26:13 marc Exp $
# $OpenBSD: Makefile,v 1.9 1999/03/02 04:41:05 marc Exp $
#
DISTNAME= expect
PKGNAME= expect-5.26
CATEGORIES= lang tcl80 tk80
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= niklas@openbsd.org
@ -21,9 +21,7 @@ CONFIGURE_ARGS= --with-tclconfig=${PREFIX}/lib/tcl8.0 \
--with-tclinclude=${PREFIX}/include/tcl8.0 \
--with-tkconfig=${PREFIX}/lib/tk8.0 \
--with-tkinclude=${PREFIX}/include/tk8.0
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
# needed for japanese/expect
.if !defined(NO_MAN_INSTALL)

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.5 1999/02/27 15:59:36 rohee Exp $
# $OpenBSD: Makefile,v 1.6 1999/03/02 04:41:05 marc Exp $
#
DISTNAME= guile-1.3
CATEGORIES= lang
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= rohee@OpenBSD.ORG
@ -12,10 +12,7 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= guile
GNU_CONFIGURE= yes
.if defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --disable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
post-install:
${LDCONFIG} -m ${PREFIX}/lib

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.7 1999/02/21 04:26:14 marc Exp $
# $OpenBSD: Makefile,v 1.8 1999/03/02 04:41:05 marc Exp $
#
# Relevant URLs: http://www.transvirtual.com/kaffe/
DISTNAME= kaffe-1.0.b3
CATEGORIES= lang
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MASTER_SITES= ftp://ftp.transvirtual.com/pub/kaffe/
@ -16,9 +16,7 @@ MAINTAINER= ian@OpenBSD.ORG
# build/configuration variables
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= ${SETENV} CPPFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 1999/02/21 04:26:14 marc Exp $
# $OpenBSD: Makefile,v 1.10 1999/03/02 04:41:08 marc Exp $
# $FreeBSD: Makefile,v 1.4 1997/12/01 16:50:49 pst Exp $
#
@ -6,7 +6,7 @@ DISTNAME= tcl8.0.4
PKGNAME= tcl-8.0.4
CATEGORIES= lang tcl80
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= niklas@openbsd.org
@ -14,11 +14,9 @@ MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/tcl8_0/
WRKSRC= ${WRKDIR}/tcl8.0.4/unix
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS= --enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
.if (${MACHINE_ARCH} == "mips")
CONFIGURE_ARGS= --disable-load
CONFIGURE_ARGS+=--disable-load
.endif
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 1999/02/21 04:26:15 marc Exp $
# $OpenBSD: Makefile,v 1.9 1999/03/02 04:41:08 marc Exp $
#
DISTNAME= a2ps-4.10.4
PKGNAME= a2ps
CATEGORIES= print
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= weingart@OpenBSD.org
@ -33,12 +33,8 @@ PAPERSIZE?=
STRIP=
CONFIGURE_ARGS= --with-medium=$(PAPERSIZE) \
--enable-static \
--sysconfdir=/etc
.if defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --disable-shared
.else
CONFIGURE_ARGS+= --enable-shared
.endif
--sysconfdir=/etc \
${CONFIGURE_SHARED}
Letter::
$(MAKE) PAPERSIZE=Letter

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 1999/02/21 04:26:15 marc Exp $
# $OpenBSD: Makefile,v 1.6 1999/03/02 04:41:09 marc Exp $
# $FreeBSD: Makefile,v 1.3 1997/07/17 15:12:58 max Exp $
#
@ -29,13 +29,15 @@ do-install:
${INSTALL_DATA} rsa.h _des.h _md2.h _md5.h rsaref.h global.h \
${PREFIX}/include
cd ${WRKSRC} && ${INSTALL_DATA} librsaref.a ${PREFIX}/lib
.if !defined(NO_SHARED_LIBS)
cd ${WRKSRC} && ${INSTALL_DATA} librsaref.so.2.0 ${PREFIX}/lib
.endif
${LDCONFIG} -m ${PREFIX}/lib
install -d -m 555 ${PREFIX}/share/doc/rsaref
cd ${WRKDIR}/doc && \
${INSTALL_DATA} info.txt rsaref.txt \
${PREFIX}/share/doc/rsaref
.include <bsd.port.mk>
.if !defined(NO_SHARED_LIBS)
post-install:
cd ${WRKSRC} && ${INSTALL_DATA} librsaref.so.2.0 ${PREFIX}/lib
${LDCONFIG} -m ${PREFIX}/lib
.endif

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 1999/02/21 04:26:16 marc Exp $
# $OpenBSD: Makefile,v 1.9 1999/03/02 04:41:09 marc Exp $
#
DISTNAME= gtk+-1.0.6
CATEGORIES= x11
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= marc@openbsd.org
@ -13,9 +13,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.0/ \
USE_X11= yes
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= ${SETENV} INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.18 1999/02/21 04:26:16 marc Exp $
# $OpenBSD: Makefile,v 1.19 1999/03/02 04:41:09 marc Exp $
# FreeBSD: Makefile,v 1.17 1998/03/28 14:12:55 steve Exp
#
DISTNAME= lesstif-0.87.0
CATEGORIES= x11
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= form@OpenBSD.ORG
@ -20,9 +20,7 @@ USE_X11= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
CONFIGURE_ARGS+= --enable-build-12
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS+= --enable-shared
.endif
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= ${SETENV}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 1999/02/21 04:26:16 marc Exp $
# $OpenBSD: Makefile,v 1.10 1999/03/02 04:41:10 marc Exp $
# FreeBSD: Makefile,v 1.18 1998/07/20 16:51:14 andreas Exp
#
@ -28,12 +28,6 @@ USE_GMAKE= yes
USE_X11= yes
MAKE_ENV+= QTDIR=${WRKSRC}
.if defined(NO_SHARED_LIBS)
USE_TARGET= openbsd-g++-static
.else
USE_TARGET= openbsd-g++-shared
.endif
MAN1= moc.1
MAN3= QAccel.3qt QApplication.3qt QArray.3qt QAsyncIO.3qt \
QBitArray.3qt QBitVal.3qt QBitmap.3qt QBoxLayout.3qt \
@ -137,9 +131,10 @@ post-configure:
do-install:
${INSTALL_PROGRAM} $(WRKDIR)/qt-${MAJ}.${MIN}/bin/moc $(X11BASE)/bin
.if defined(NO_SHARED_LIBS)
.if exists($(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.a)
${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.a $(X11BASE)/lib
.else
.endif
.if exists($(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.so.${MAJ}.${MIN})
${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.so.${MAJ}.${MIN} \
$(X11BASE)/lib
${LN} -sf $(X11BASE)/lib/libqt.so.${MAJ}.${MIN} $(X11BASE)/lib/libqt.so
@ -174,3 +169,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/examples/README ${PREFIX}/lib/qt/examples
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS)
USE_TARGET= openbsd-g++-static
.else
USE_TARGET= openbsd-g++-shared
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 1999/02/21 04:26:17 marc Exp $
# $OpenBSD: Makefile,v 1.8 1999/03/02 04:41:10 marc Exp $
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
#
@ -6,7 +6,7 @@ DISTNAME= tk8.0.4
PKGNAME= tk-8.0.4
CATEGORIES= x11 tk80
NEED_VERSION= 1.64
NEED_VERSION= 1.73
MAINTAINER= niklas@openbsd.org
@ -16,9 +16,7 @@ LIB_DEPENDS= tcl80.1.4:${PORTSDIR}/lang/tcl80
WRKSRC= ${WRKDIR}/tk8.0.4/unix
GNU_CONFIGURE= yes
.if !defined(NO_SHARED_LIBS)
CONFIGURE_ARGS= --enable-shared
.endif
CONFIGURE_ARGS+=${CONFIGURE_SHARED}
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} PATH=${PATH}:${X11BASE}/bin
post-install: