1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Upgrade to snap-16.1f. This snapshot is primarily cleanups,

documentation updates, and portability fixes.  There is no compelling
reason for FreeBSD users to upgrade if they are already running
snap-16.1e.

More importantly: Change the Modula-3 dependencies to use the new
"ezm3" distribution.  It is a lot smaller and easier to install
than pm3.

Remove the special static linking when PACKAGE_BUILDING is set.
When ezm3 is used, programs are always statically linked with the
Modula-3 libraries.  This means that binaries built with this port
will be stand-alone, but still dynamically linked with the system
libraries.  So, for example, they will work with runsocks.
This commit is contained in:
John Polstra 2002-01-02 19:17:06 +00:00
parent c356aedc5c
commit c9c5953045
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52507
2 changed files with 6 additions and 32 deletions

View File

@ -6,41 +6,26 @@
#
PORTNAME= cvsup
PORTVERSION?= 16.1e
PORTVERSION?= 16.1f
PORTREVISION?= 0
CATEGORIES= net devel
MASTER_SITES= http://people.freebsd.org/~jdp/s1g/ \
ftp://ftp3.freebsd.org/pub/FreeBSD/development/CVSup/snapshots/ \
ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/snapshots/ \
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/snapshots/
MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
MASTER_SITE_SUBDIR=development/CVSup/snapshots
DISTNAME= cvsup-snap-${PORTVERSION}
MAINTAINER= jdp@FreeBSD.org
.ifdef PACKAGE_BUILDING
STATIC= yes
.endif
.ifdef WITHOUT_X11
M3FLAGS+= -DNOGUI
BUILD_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
.ifndef STATIC
RUN_DEPENDS= ${L1}libm3tcp${L2}:${PORTSDIR}/lang/pm3-net
.endif
BUILD_DEPENDS= ${PREFIX}/lib/m3/pkg/tcp/${TARGET}/libm3tcp.a:${PORTSDIR}/lang/ezm3
.else
BUILD_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
.ifndef STATIC
RUN_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
.endif
BUILD_DEPENDS= ${PREFIX}/lib/m3/pkg/formsvbt/${TARGET}/libm3formsvbt.a:${PORTSDIR}/lang/ezm3
.endif
MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}"
MAN1= cvpasswd.1 cvsup.1
MAN8= cvsupd.8
L1= ${PREFIX}/lib/m3/${TARGET}/
SOVERSION= 7
.ifdef STATIC
M3FLAGS+= -DSTATIC
.endif
@ -48,29 +33,18 @@ M3FLAGS+= -DSTATIC
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
L2= .so.${SOVERSION}.0
TARGET= FreeBSD2
TARGETDIR= freebsd-2
WORDSIZE= 32
.elif ${ARCH} == "i386"
L2= .so.${SOVERSION}
.if ${OSVERSION} < 400011
TARGET= FreeBSD3
TARGETDIR= freebsd-3
.else
TARGET= FreeBSD4
TARGETDIR= freebsd-4
.endif
WORDSIZE= 32
.elif ${ARCH} == "alpha"
.if ${OSVERSION} < 400011
BROKEN= Not supported on older versions of FreeBSD/Alpha
.endif
CFLAGS+= -mieee
L2= .so.${SOVERSION}
TARGET= FBSD_ALPHA
TARGETDIR= fbsd-alpha
WORDSIZE= 64
.endif
pre-fetch:

View File

@ -1 +1 @@
MD5 (cvsup-snap-16.1e.tar.gz) = 1fc0ce8660b7fdc350893d4ea2458ceb
MD5 (cvsup-snap-16.1f.tar.gz) = 57f318a41ddd7fd9cbe11b5c2ab4a53c