svn commit: r315399 - head/x11-toolkits/gal2
Koop Mast
kwm at FreeBSD.org
Wed Mar 27 18:10:29 UTC 2013
Author: kwm
Date: Wed Mar 27 18:10:29 2013
New Revision: 315399
URL: http://svnweb.freebsd.org/changeset/ports/315399
Log:
Fix build with glib 2.34 [1]
While here, trim header, use USES=pathfix, and remove pre.mk/post.mk because
they aren't needed.
Submitted by: miwi [1]
Modified:
head/x11-toolkits/gal2/Makefile
Modified: head/x11-toolkits/gal2/Makefile
==============================================================================
--- head/x11-toolkits/gal2/Makefile Wed Mar 27 17:56:42 2013 (r315398)
+++ head/x11-toolkits/gal2/Makefile Wed Mar 27 18:10:29 2013 (r315399)
@@ -1,10 +1,6 @@
-# New ports collection makefile for: gal2
-# Date created: 25 August 2002
-# Whom: Joe Marcus Clarke <marcus at FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus at FreeBSD.org>
# $FreeBSD$
# $MCom: ports/x11-toolkits/gal2/Makefile,v 1.54 2007/05/23 14:37:18 ahze Exp $
-#
PORTNAME= gal2
PORTVERSION= 2.5.3
@@ -24,8 +20,8 @@ USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui libgnomeprintui \
- ltverhack
+USES= pathfix
+USE_GNOME= gnomeprefix intlhack libgnomeui libgnomeprintui ltverhack
USE_GETTEXT= yes
USE_XORG= x11
USE_LDCONFIG= yes
@@ -37,14 +33,14 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION="2.6" PORTVERSION=${PORTVERSION} \
SHLIBVERSION="2.4"
-.include <bsd.port.pre.mk>
-
post-extract:
${TOUCH} -f ${WRKSRC}/gal/util/e-util-private.h
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|glib/gmacros.h|glib.h|g' \
+ ${WRKSRC}/gal/util/e-text-event-processor-types.h
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
.endif
More information about the svn-ports-all
mailing list