ports/74729: Update port: games/easysok

KATO Tsuguru tkato432 at yahoo.com
Sun Dec 5 17:10:19 UTC 2004


>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:



More information about the freebsd-ports-bugs mailing list