1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Unbreak on 5.x

PR:		ports/67457
Submitted by:	Andrey Slusar <vasallia@ukr.net>
This commit is contained in:
Pav Lucistnik 2004-06-02 01:21:25 +00:00
parent 4c5e49040d
commit bdadb86ec4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110626
2 changed files with 12 additions and 7 deletions

View File

@ -30,14 +30,8 @@ CONFIGURE_ARGS= --with-python=none \
--with-wx-config=${X11BASE}/bin/wxgtk2-2.4-config
CONFIGURE_ENV= OSTYPE=${OPSYS} CFLAGS="${CFLAGS}"
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" || ${OSVERSION} > 502105
BROKEN= "Does not compile on !i386 or FreeBSD >= 5.x"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-DOPENSSL_NO_KRB5||' -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' ${WRKSRC}/locale/Makefile
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- extra/src/c-client/Makefile.old Tue Jun 1 19:59:40 2004
+++ extra/src/c-client/Makefile Tue Jun 1 20:00:37 2004
@@ -866,7 +866,7 @@
echo $(CC) > CCTYPE
echo $(CFLAGS) > CFLAGS
echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
- -DMAILSPOOL=\"$(MAILSPOOL)\" \
+ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
-DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
-DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
-DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS