Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 18:14:03 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/26552: Update port: graphics/sng
Message-ID:  <200104140114.f3E1E3q34253@freefall.freebsd.org>

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

>Number:         26552
>Category:       ports
>Synopsis:       Update port: graphics/sng
>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:   Fri Apr 13 18:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Add missing BUILD_DEPENDS/RUN_DEPENDS

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/sng/Makefile graphics/sng/Makefile
--- /usr/ports/graphics/sng/Makefile	Tue Mar 20 20:47:11 2001
+++ graphics/sng/Makefile	Sat Apr 14 04:03:01 2001
@@ -14,14 +14,19 @@
 
 MAINTAINER=	ijliao@FreeBSD.org
 
+BUILD_DEPENDS=	${X11BASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS=	${BUILD_DEPENDS}
 LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png
 
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--with-png-inc=${LOCALBASE}/include
-
-USE_GMAKE=	yes
+CONFIGURE_ARGS=	--with-png-inc=${LOCALBASE}/include \
+		--with-rgbtxt=${X11BASE}/lib/X11/rgb.txt
 
 MAN1=	sng.1
+
+pre-patch:
+	@${PERL} -pi -e 's|-static||g' ${WRKSRC}/Makefile.in
 
 .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?200104140114.f3E1E3q34253>