[Midnightbsd-cvs] mports [20407] trunk/x11/xscreensaver-gnome/Makefile: fix build of xscreensaver-gnome

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 3 10:39:43 EDT 2015


Revision: 20407
          http://svnweb.midnightbsd.org/mports/?rev=20407
Author:   laffer1
Date:     2015-10-03 10:39:42 -0400 (Sat, 03 Oct 2015)
Log Message:
-----------
fix build of xscreensaver-gnome

Modified Paths:
--------------
    trunk/x11/xscreensaver-gnome/Makefile

Modified: trunk/x11/xscreensaver-gnome/Makefile
===================================================================
--- trunk/x11/xscreensaver-gnome/Makefile	2015-10-03 05:09:57 UTC (rev 20406)
+++ trunk/x11/xscreensaver-gnome/Makefile	2015-10-03 14:39:42 UTC (rev 20407)
@@ -2,7 +2,7 @@
 
 PORTNAME?=	xscreensaver-gnome
 PORTVERSION=	5.12
-PORTREVISION?=	4
+PORTREVISION?=	5
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://www.jwz.org/xscreensaver/
 DISTNAME=	xscreensaver-${PORTVERSION}
@@ -12,16 +12,16 @@
 
 LICENSE=	mit
 
-FAKE_OPTS+=	trueprefix
+#FAKE_OPTS+=	trueprefix
+DESTDIRNAME=	install_prefix
 
-LIB_DEPENDS=	libgle.so:${PORTSDIR}/graphics/gle \
-		libjpeg.so:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	libgle.so:${PORTSDIR}/graphics/gle
 
 #CONFLICTS?=	xscreensaver-[0-9]* xscreensaver-gnome-hacks-[0-9]*
 
 USE_XORG=	x11 xpm
 USE_GL=		gl
-USES+=		dos2unix gettext gmake perl5 pathfix pkgconfig
+USES+=		dos2unix gettext gmake jpeg perl5 pathfix pkgconfig
 USE_PERL5_RUN=	yes
 USE_GNOME=	libglade2
 GNU_CONFIGURE=	yes
@@ -74,9 +74,10 @@
 .endif
 
 USE_DOS2UNIX=	hacks/glx/topblock.c
+pre-patch: dos2unix
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-	    	s|malloc.h|stdlib.h|g ; \
+	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g ; \
 		s|/usr/X11R6|${LOCALBASE}|g' \
 		${WRKSRC}/configure
 .if ${PORT_OPTIONS:MPAM}



More information about the Midnightbsd-cvs mailing list