Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 19:43:54 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16846: fix port: net/kdetelnet: respect CXXFLAGS [PATCH]
Message-ID:  <20000221004354.06B5F1B1D@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         16846
>Category:       ports
>Synopsis:       fix port: net/kdetelnet: respect CXXFLAGS [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 20 16:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Sun Jan 23 13:41:02 EST 2000     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

This fixes kdetelnet to respect CXXFLAGS,
moves the Qt dependency to its proper location,
and cleans up the Makefile somewhat.

>How-To-Repeat:

Use the diff below to fix the current port.

>Fix:

Index: Makefile
===================================================================
RCS file: /extra/cvsroot/ports/net/kdetelnet/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1999/09/18 03:12:07	1.5
+++ Makefile	2000/02/21 00:42:20
@@ -14,26 +14,19 @@
 
 MAINTAINER=	hanspb@persbraten.vgs.no
 
-BUILD_DEPENDS=	moc:${PORTSDIR}/x11-toolkits/qt142
-LIB_DEPENDS=	qt.2:${PORTSDIR}/x11-toolkits/qt142 \
-		gif.5:${PORTSDIR}/graphics/giflib \
-		jpeg.9:${PORTSDIR}/graphics/jpeg \
-		kdecore.2:${PORTSDIR}/x11/kdelibs11 \
-		kdeui.2:${PORTSDIR}/x11/kdelibs11
+LIB_DEPENDS=	kdecore.2:${PORTSDIR}/x11/kdelibs11
 
+USE_QT=		yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	"--prefix=$(PREFIX)"
-CONFIGURE_ENV=	CXXFLAGS="$(CFLAGS)" \
-		INSTALL_SCRIPT="install -c -m 555"
+CONFIGURE_ENV=	CXXFLAGS="$(CFLAGS)" INSTALL_SCRIPT="install -c -m 555"
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/HTML/en/ktelnet
-	${MKDIR} ${PREFIX}/share/doc/HTML/de/ktelnet
-	${INSTALL_MAN} ${WRKSRC}/doc/index.en.html \
-		${PREFIX}/share/doc/HTML/en/ktelnet/index.html
-	${INSTALL_MAN} ${WRKSRC}/doc/index.de.html \
-		${PREFIX}/share/doc/HTML/de/ktelnet/index.html
+.for DIR in en de
+	@${MKDIR} ${PREFIX}/share/doc/HTML/${DIR}/ktelnet
+	@${INSTALL_MAN} ${WRKSRC}/doc/index.${DIR}.html \
+		${PREFIX}/share/doc/html/${DIR}/ktelnet/index.html
 .endif
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000221004354.06B5F1B1D>