- Chase tix library name change.

PR:		ports/60115
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
This commit is contained in:
Pav Lucistnik 2003-12-10 21:47:45 +00:00
parent 7324117abc
commit 95560bdb48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95570

View File

@ -6,6 +6,7 @@
PORTNAME= ohugs
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= lang haskell
MASTER_SITES= http://www.math.chalmers.se/~nordland/ohugs/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@ -14,7 +15,7 @@ MAINTAINER= steffen.mazanek@unibw-muenchen.de
COMMENT= Interpreter for Haskell with object-oriented features
.if !defined(WITHOUT_X11)
LIB_DEPENDS= tix4182:${PORTSDIR}/x11-toolkits/tix
LIB_DEPENDS= tix4184:${PORTSDIR}/x11-toolkits/tix
.endif
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
@ -29,7 +30,7 @@ post-patch:
.if !defined(WITHOUT_X11)
@${REINPLACE_CMD} -e 's|#CFLAGS+=|CFLAGS+= -I${PREFIX}/include/tk8.2 \
-I${PREFIX}/include/tcl8.2 -I${PREFIX}/include -I${X11BASE}/include| ; \
s|#LDFLAGS+=|LDFLAGS+=-L${PREFIX}/lib -ltk82 -ltcl82 -ltix4182|' \
s|#LDFLAGS+=|LDFLAGS+=-L${PREFIX}/lib -ltk82 -ltcl82 -ltix4184|' \
${WRKSRC}/src/Makefile
.endif