- honour CC, quote CFLAGS, cosmetics (patch from naddy@)

- bump NEED_VERSION

NB: 0.2.5 doesn't work on sparc (pthreads) - thanks naddy for testing
This commit is contained in:
reinhard 2001-02-09 16:41:12 +00:00
parent 88ad03f3e7
commit f7d9850b2c
3 changed files with 9 additions and 16 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/12/10 13:15:23 reinhard Exp $
# $OpenBSD: Makefile,v 1.2 2001/02/09 16:41:12 reinhard Exp $
DISTNAME= lincvs_0.2.3
PKGNAME= lincvs-0.2.3
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= devel
NEED_VERSION= 1.340
NEED_VERSION= 1.353
MASTER_SITES= http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/download/
HOMEPAGE= http://ppprs1.phy.tu-dresden.de/~trogisch/lincvs/lincvsen.html
@ -22,12 +22,8 @@ LIB_DEPENDS= qt.2.::x11/qt2
WRKDIST= ${WRKDIR}/LinCVS-0.2.3
do-install:
@mv ${WRKSRC}/LinCVS ${WRKSRC}/lincvs
${INSTALL_DATA} -m 0755 -g 0 ${WRKSRC}/lincvs ${PREFIX}/bin
${INSTALL_DATA} -m 0755 -g 0 ${WRKSRC}/LinCVS ${PREFIX}/bin/lincvs
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lincvs
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/lincvs
${INSTALL_DATA} ${WRKSRC}/INSTALL.TXT ${PREFIX}/share/doc/lincvs
${INSTALL_DATA} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/lincvs
${INSTALL_DATA} ${WRKSRC}/VERSION.TXT ${PREFIX}/share/doc/lincvs
.include <bsd.port.mk>

View File

@ -12,15 +12,15 @@
-LINK = g++
+#CC = gcc
+#CXX = g++
+CFLAGS+= -DLINCVS_APP
+CXXFLAGS= ${CFLAGS}
+CFLAGS+= -Wall -W -O2 -D_REENTRANT -DLINCVS_APP -DNO_DEBUG
+CXXFLAGS= -Wall -W -D_REENTRANT -DLINCVS_APP -DNO_DEBUG
+INCPATH = -I./include -I./res -I./themes/include -I./themes/res -I${PREFIX}/include/X11/qt2
+LINK = $(CXX)
LFLAGS =
-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lXext -lX11 -lm
-MOC = moc
+LIBS = -L${PREFIX}/lib/qt2 -L${PREFIX}/lib -L${X11BASE}/lib -lqt -lXext -lX11 -lm
+MOC = ${PREFIX}/bin/moc2
+LIBS = -L$(PREFIX)/lib/qt2 -L${PREFIX}/lib -L${X11BASE}/lib -lqt -lXext -lX11 -lm
+MOC = $(PREFIX)/bin/moc2
TAR = tar -cf
GZIP = gzip -9f

View File

@ -1,7 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/10 13:15:23 reinhard Exp $
@comment $OpenBSD: PLIST,v 1.2 2001/02/09 16:41:12 reinhard Exp $
bin/lincvs
share/doc/lincvs/COPYING
share/doc/lincvs/INSTALL.TXT
share/doc/lincvs/README.TXT
share/doc/lincvs/VERSION.TXT
@dirrm share/doc/lincvs