svn commit: r322580 - head/audio/timidity++

Baptiste Daroussin bapt at FreeBSD.org
Tue Jul 9 21:26:28 UTC 2013


Author: bapt
Date: Tue Jul  9 21:26:27 2013
New Revision: 322580
URL: http://svnweb.freebsd.org/changeset/ports/322580

Log:
  Fix HAVE_GNOME screaming

Modified:
  head/audio/timidity++/Makefile

Modified: head/audio/timidity++/Makefile
==============================================================================
--- head/audio/timidity++/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
+++ head/audio/timidity++/Makefile	Tue Jul  9 21:26:27 2013	(r322580)
@@ -58,13 +58,6 @@ LIB_DEPENDS+=	png15:${PORTSDIR}/graphics
 CPPFLAGS+=	-I${LOCALBASE}/include/libpng15
 .endif
 
-.if ${HAVE_GNOME:Mesound}!=""
-USE_GNOME=	esound
-CONFIGURE_ARGS+=--enable-audio=oss,esd,vorbis
-.else
-CONFIGURE_ARGS+=--enable-audio=oss,vorbis
-.endif
-
 pre-su-install:
 	@${MKDIR} ${PREFIX}/share/timidity ${PREFIX}/${TIMID_LIBDIR}
 
@@ -77,6 +70,15 @@ post-install::
 .include "${MASTERDIR}/Makefile.interface"
 .endif # !defined(PKGNAMESUFFIX)
 
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mesound}!=""
+USE_GNOME=	esound
+CONFIGURE_ARGS+=--enable-audio=oss,esd,vorbis
+.else
+CONFIGURE_ARGS+=--enable-audio=oss,vorbis
+.endif
+
 post-install::
 .if !defined(NOPORTDOCS) && defined(DOCFILES)
 .for lang in ${DOCLANG}
@@ -89,4 +91,4 @@ post-install::
 	@${CAT} ${PKGMESSAGE}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list