diff options
author | ahze <ahze@FreeBSD.org> | 2005-05-21 03:53:59 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-05-21 03:53:59 +0800 |
commit | da533fac6c904f9afb66772e01b3c13e36193d63 (patch) | |
tree | 926f16dc302863c6f76d9b0e0681f8d7a0e366b2 /Mk/bsd.gnome.mk | |
parent | 91f5d87b7c853592d06cb87fd773c269a48deb2d (diff) | |
download | freebsd-ports-gnome-da533fac6c904f9afb66772e01b3c13e36193d63.tar.gz freebsd-ports-gnome-da533fac6c904f9afb66772e01b3c13e36193d63.tar.zst freebsd-ports-gnome-da533fac6c904f9afb66772e01b3c13e36193d63.zip |
- Add "-type f" to ${FIND} in gnomehack and lthack so it only finds
files and not directories.
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index 6de3ae7380c4..d2256cdfafef 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -61,7 +61,7 @@ _USE_GNOME_ALL+= atk atspi desktopfileutils eel2 evolutiondataserver \ pygnomeextras pygtk2 vte SCROLLKEEPER_DIR= /var/db/scrollkeeper -gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ +gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]GNOME_datadir[)]/gnome/|(datadir)/|g ; \ s|[(]GNOME_datadir[)]/locale|(prefix)/share/locale|g ; \ s|[(]datadir[)]/locale|(prefix)/share/locale|g ; \ @@ -77,13 +77,13 @@ gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLA s|[$$][(]localstatedir[)]/scrollkeeper|${SCROLLKEEPER_DIR}|g ; \ s|[(]datadir[)]/icons/hicolor|(prefix)/share/icons/hicolor|g ; \ s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g' ; \ - ${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \ + ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|{datadir}/locale|{prefix}/share/locale|g ; \ s|{libdir}/locale|{prefix}/share/locale|g' -lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \ +lthack_PRE_PATCH= ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ '/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|' GNOME_MTREE= ${X11BASE}/etc/mtree/BSD.gnome-x11.dist |