Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2004 02:00:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74729: Update port: games/easysok
Message-ID:  <20041206020012.2a6a40f7.tkato432@yahoo.com>
Resent-Message-ID: <200412051710.iB5HAIPo074459@freefall.freebsd.org>

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

>Number:         74729
>Category:       ports
>Synopsis:       Update port: games/easysok
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 05 17:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix build on amd64/ia64

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/easysok/Makefile games/easysok/Makefile
--- /usr/ports/games/easysok/Makefile	Thu Nov 18 14:01:12 2004
+++ games/easysok/Makefile	Fri Dec  3 20:57:53 2004
@@ -19,6 +19,12 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+=	-fPIC
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O2||g ; \
 		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -26,4 +32,4 @@
 		's|-lkdeprint|$$(LIB_KDEPRINT) $$(LIBPTHREAD)|g' \
 			${WRKSRC}/src/Makefile.in
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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