diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-06-24 21:53:38 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-06-24 21:53:38 +0000 |
commit | 44fa80481074cd35888ebc22004934733aaa2124 (patch) | |
tree | ebb174ef89b9e34586ae4d8ddc7b865c01f4f6e3 | |
parent | dfd4a6d526d47b10c07449bd7c58b70acf01fcb7 (diff) | |
download | freebsd-ports-44fa80481074cd35888ebc22004934733aaa2124.zip |
s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
28 files changed, 48 insertions, 50 deletions
diff --git a/Tools/scripts/mkptools/mkpextr b/Tools/scripts/mkptools/mkpextr index fdac12d7d4ca..355ea19807ba 100755 --- a/Tools/scripts/mkptools/mkpextr +++ b/Tools/scripts/mkptools/mkpextr @@ -102,7 +102,7 @@ sub writemk { "gtk12.2:\${PORTSDIR}/x11-toolkits/gtk12"); $tmp{"GTK_CONFIG"} = - "\${X11BASE}/bin/gtk12-config"; + "\${LOCALBASE}/bin/gtk12-config"; appendvar("CONFIGURE_ENV", "GTK_CONFIG=\"\${GTK_CONFIG}\""); diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index 46297a99d97a..9a6805a7e35a 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -48,7 +48,7 @@ pre-fetch: post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ - -e 's|/usr/X11R6|${X11BASE}|g' \ + -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/Makefile @${FIND} ${WRKSRC}/../.. -name Makefile -type f | \ ${XARGS} ${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ diff --git a/astro/xmoontool/files/patch-Makefile b/astro/xmoontool/files/patch-Makefile index 449c93758ef8..c63f45a762b7 100644 --- a/astro/xmoontool/files/patch-Makefile +++ b/astro/xmoontool/files/patch-Makefile @@ -2,7 +2,7 @@ +++ ./Makefile Fri Mar 24 10:55:01 2006 @@ -8,9 +8,9 @@ LOCALBASE?= /usr/local - X11BASE?= /usr/X11R6 + X11BASE?= /usr/local -CC= gcc -CFLAGS= -O2 -Wall diff --git a/audio/timidity++-motif/Makefile b/audio/timidity++-motif/Makefile index 93a3200b13e0..829c4dced3d8 100644 --- a/audio/timidity++-motif/Makefile +++ b/audio/timidity++-motif/Makefile @@ -16,7 +16,7 @@ PLIST_FILES= bin/xmmidi ${TIMID_LIBDIR}/interface_m.so post-configure: @${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig - @${SED} -e 's^m_so_libs = $$^m_so_libs = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \ + @${SED} -e 's^m_so_libs = $$^m_so_libs = -L${LOCALBASE}/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \ -e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \ ${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile diff --git a/biology/njplot/files/patch-makefile b/biology/njplot/files/patch-makefile index 448fbe7d41be..2f913dea012a 100644 --- a/biology/njplot/files/patch-makefile +++ b/biology/njplot/files/patch-makefile @@ -54,7 +54,7 @@ - -L$(MOTIFLIB) -lXm \ - -L/usr/X11R6/lib -lXmu -lXt -lX11 -lm + $(MOTIFLIB) \ -+ -L$(X11BASE)/lib -lXmu -lXt -lX11 -lm ++ -L$(LOCALBASE)/lib -lXmu -lXt -lX11 -lm unrooted : $(OBJUNROOTED) $(CC) -g -o unrooted $(OBJUNROOTED) \ diff --git a/databases/qt4-pgsql-plugin/files/Makefile.bsd b/databases/qt4-pgsql-plugin/files/Makefile.bsd index 9506edf39bec..ac76761a14c3 100644 --- a/databases/qt4-pgsql-plugin/files/Makefile.bsd +++ b/databases/qt4-pgsql-plugin/files/Makefile.bsd @@ -5,7 +5,7 @@ CXXFLAGS+= -I${DRIVER} \ -I${QT_INCDIR} \ -I${QT_INCDIR}/Qt \ -I${LOCALBASE}/include/postgresql/server \ - -I${LOCALBASE}/include -I${X11BASE}/include \ + -I${LOCALBASE}/include \ ${PTHREAD_CFLAGS} -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII \ -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE \ -D_LARGEFILE_SOURCE -DQT_SHARED diff --git a/devel/plan9port/Makefile b/devel/plan9port/Makefile index e609f83d32f8..65b2a0f9005e 100644 --- a/devel/plan9port/Makefile +++ b/devel/plan9port/Makefile @@ -101,7 +101,7 @@ EMPTY_DIRS= plan9/log \ post-patch: @${FIND} ${WRKSRC}/man -type f -regex ".*\.[0-9?]$\" \ | ${XARGS} ${REINPLACE_CMD} -e 's|\\\*9|${PLAN9}|' - @${REINPLACE_CMD} -e 's|X11=/usr/X11R6|X11=${X11BASE}|' \ + @${REINPLACE_CMD} -e 's|X11=/usr/X11R6|X11=${LOCALBASE}|' \ ${WRKSRC}/bin/9l ${WRKSRC}/src/cmd/devdraw/mkwsysrules.sh @${REINPLACE_CMD} -e 's|/lib/font/bit|${PLAN9}/font|' \ ${WRKSRC}/src/cmd/acme/acme.c diff --git a/finance/wmstock/files/patch-ab b/finance/wmstock/files/patch-ab index 6025b41c39e8..8f2a0287eb4a 100644 --- a/finance/wmstock/files/patch-ab +++ b/finance/wmstock/files/patch-ab @@ -13,7 +13,7 @@ -INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include -DESTDIR= /usr/X11R6 -LIBDIR = -L/usr/X11R6/lib -+X11BASE ?= /usr/X11R6 ++X11BASE ?= ${LOCALBASE} +INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include +DESTDIR= ${PREFIX} +LIBDIR = -L${LOCALBASE}/lib diff --git a/ftp/wmget/files/patch-Makefile b/ftp/wmget/files/patch-Makefile index 018defc4014f..ee3c8e41b260 100644 --- a/ftp/wmget/files/patch-Makefile +++ b/ftp/wmget/files/patch-Makefile @@ -4,7 +4,7 @@ # To specify a different prefix, you can override this on the command line # make PREFIX=/opt/dockapps install -PREFIX= /usr/local -+X11BASE?= /usr/X11R6 ++X11BASE?= ${LOCALBASE} +PREFIX?= ${LOCALBASE} INSTALLDIR= install -d -m 755 diff --git a/games/demonquake/files/patch-Makefile b/games/demonquake/files/patch-Makefile index c1c9498ca2f3..2aa4a85d4ed1 100644 --- a/games/demonquake/files/patch-Makefile +++ b/games/demonquake/files/patch-Makefile @@ -47,7 +47,7 @@ -GAMEBASE= /usr/local -X11BASE=/usr/X11R6 +LOCALBASE?=/usr/local -+X11BASE?=/usr/X11R6 ++X11BASE?=/usr/local SYSBINDIR=$(LOCALBASE)/bin -DATADIR= $(GAMEBASE)/games/quake - diff --git a/games/q2p/files/patch-Makefile b/games/q2p/files/patch-Makefile index 0539957c3fcb..c5a9b9d05cca 100644 --- a/games/q2p/files/patch-Makefile +++ b/games/q2p/files/patch-Makefile @@ -139,7 +139,7 @@ -LOCALBASE= /usr/local -GAMEBASE= /usr/local -SYSBINDIR=$(LOCALBASE)/bin -+X11BASE?= /usr/X11R6 ++X11BASE?= /usr/local +LOCALBASE?= /usr/local +GAMEBASE?= $(PREFIX) +SYSBINDIR?= $(PREFIX)/bin diff --git a/games/qix/pkg-deinstall b/games/qix/pkg-deinstall index aa9faf7ceff0..0f90f4ac2cea 100644 --- a/games/qix/pkg-deinstall +++ b/games/qix/pkg-deinstall @@ -3,7 +3,7 @@ if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi -X11BASE=/usr/X11R6 +X11BASE=/usr/local FONTDIR=$X11BASE/lib/X11/fonts/local ALIAS=$FONTDIR/fonts.alias @@ -15,4 +15,4 @@ $X11BASE/bin/mkfontdir $FONTDIR if [ `ls -l $FONTDIR/fonts.dir|awk '{print $5}'` = 2 ]; then rm $FONTDIR/fonts.dir fi -exit 0
\ No newline at end of file +exit 0 diff --git a/games/qix/pkg-install b/games/qix/pkg-install index 0e668af85c9b..f033fc051cc1 100644 --- a/games/qix/pkg-install +++ b/games/qix/pkg-install @@ -4,7 +4,7 @@ if [ "$2" != POST-INSTALL ] ; then exit 0 fi -X11BASE=/usr/X11R6 +X11BASE=/usr/local FONTDIR=$X11BASE/lib/X11/fonts/local mkdir -p $X11BASE/share/qix diff --git a/games/tremor/files/patch-Makefile b/games/tremor/files/patch-Makefile index 033c8838a70d..278a464d9611 100644 --- a/games/tremor/files/patch-Makefile +++ b/games/tremor/files/patch-Makefile @@ -76,7 +76,7 @@ ifeq ($(strip $(STRIP)),YES) @@ -102,12 +90,11 @@ - X_LDFLAGS=-L$(X11BASE)/lib$(ARCH_LIBDIR) \ + X_LDFLAGS=-L$(LOCALBASE)/lib$(ARCH_LIBDIR) \ -lX11 -lXext -lXxf86vm -lXxf86dga -GLX_LDFLAGS=-L$(X11BASE)/lib$(ARCH_LIBDIR) \ - -L$(LOCALBASE)/lib$(ARCH_LIBDIR) \ diff --git a/japanese/navi2ch-emacs21/Makefile b/japanese/navi2ch-emacs21/Makefile index f142d992ee41..73f81b597d93 100644 --- a/japanese/navi2ch-emacs21/Makefile +++ b/japanese/navi2ch-emacs21/Makefile @@ -11,7 +11,7 @@ USE_EMACS= yes EMACS_PORT_NAME= emacs21 .if !defined(WITHOUT_X11) -RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts +RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts .endif .include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile index c4579ab79739..be9b36843e37 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7/Makefile @@ -128,8 +128,8 @@ LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib . endif USE_XORG= xt xext CONFIGURE_ARGS+=--with-x \ - --x-includes=${X11BASE}/include \ - --x-libraries=${X11BASE}/lib + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib CONFLICTS_INSTALL+= ghostscript7-nox11-[0-9]* .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 diff --git a/print/ghostscript8/files/Makefile.drivers_post b/print/ghostscript8/files/Makefile.drivers_post index 5894b9ab4ecb..20e7a086c9f3 100644 --- a/print/ghostscript8/files/Makefile.drivers_post +++ b/print/ghostscript8/files/Makefile.drivers_post @@ -76,8 +76,8 @@ PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} .if defined(_X11_DEVS) USE_XORG= xt xext CONFIGURE_ARGS+=--with-x \ - --x-includes=${X11BASE}/include \ - --x-libraries=${X11BASE}/lib + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib CONFLICTS_INSTALL+= ghostscript8-nox11-[0-9]* .if ${PORT_OPTIONS:MGTK2} USE_GNOME= atk gdkpixbuf2 glib20 gtk20 diff --git a/print/ghostscript8/files/patch-base-devs.mak b/print/ghostscript8/files/patch-base-devs.mak index 70fd478e9212..706e86737cbe 100644 --- a/print/ghostscript8/files/patch-base-devs.mak +++ b/print/ghostscript8/files/patch-base-devs.mak @@ -18,7 +18,7 @@ $(GLOBJ)X11.so : $(x11alt_) $(x11_) - $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) -+ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(X11BASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ###### --------------- Memory-buffered printer devices --------------- ###### diff --git a/print/ghostscript9/files/Makefile.drivers_post b/print/ghostscript9/files/Makefile.drivers_post index 05862e73424f..2f947d23ad18 100644 --- a/print/ghostscript9/files/Makefile.drivers_post +++ b/print/ghostscript9/files/Makefile.drivers_post @@ -77,8 +77,8 @@ PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} USE_XORG= xt xext X11BITS= "" CONFIGURE_ARGS+=--with-x \ - --x-includes=${X11BASE}/include \ - --x-libraries=${X11BASE}/lib + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib CONFLICTS_INSTALL+= ghostscript9-nox11-[0-9]* .if ${PORT_OPTIONS:MGTK2} USE_GNOME= atk gdkpixbuf2 glib20 gtk20 diff --git a/print/ghostscript9/files/patch-base-devs.mak b/print/ghostscript9/files/patch-base-devs.mak index 70fd478e9212..706e86737cbe 100644 --- a/print/ghostscript9/files/patch-base-devs.mak +++ b/print/ghostscript9/files/patch-base-devs.mak @@ -18,7 +18,7 @@ $(GLOBJ)X11.so : $(x11alt_) $(x11_) - $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) -+ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(X11BASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ###### --------------- Memory-buffered printer devices --------------- ###### diff --git a/science/afni/files/Makefile.FreeBSD_PORT b/science/afni/files/Makefile.FreeBSD_PORT index 037afd7a3236..aa079f5551bf 100644 --- a/science/afni/files/Makefile.FreeBSD_PORT +++ b/science/afni/files/Makefile.FreeBSD_PORT @@ -63,15 +63,15 @@ CCD = ${CC} ${CCDEBS} CCSVD = ${CC} -O0 CCOLD = ${CC} -IFLAGS = -I. -I${X11BASE}/include -I${LOCALBASE}/include -LFLAGS = -s -L. -L${X11BASE}/lib -L${LOCALBASE}/lib +IFLAGS = -I. -I${LOCALBASE}/include +LFLAGS = -s -L. -L${LOCALBASE}/lib MAKE = gmake PLUGIN_SUFFIX = so PLUGIN_LFLAGS = -shared PLUGIN_CC = ${CC} -PLFLAGS = -s -rdynamic -L. -L${X11BASE}/lib -L${LOCALBASE}/lib +PLFLAGS = -s -rdynamic -L. -L${LOCALBASE}/lib AR = /usr/bin/ar RANLIB = /usr/bin/ranlib @@ -95,8 +95,8 @@ LLIBS = -lmri -lf2c -lXm -lXp -lXpm -lXext -lXmu -lXt -lX11 -lm $(LZLIB) # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # For suma (NO STATIC LINKING OF GL libs) -SUMA_INCLUDE_PATH = -I${X11BASE}/include -I${LOCALBASE}/include -I./ -I../ -I../niml/ -Igts/src -SUMA_LINK_PATH = -L/usr/lib -L${X11BASE}/lib -L${LOCALBASE}/lib -L../ +SUMA_INCLUDE_PATH = -I${LOCALBASE}/include -I./ -I../ -I../niml/ -Igts/src +SUMA_LINK_PATH = -L/usr/lib -L${LOCALBASE}/lib -L../ #use -lGLw if you have libGLw.a or libGLw.so* or # -lMesaGLw if you have Mesa's version (libMesaGLw*) of libGLw SUMA_LINK_LIB = -lXm -lGLw -lGLU -lGL -lXmu -lXp -lXt -lXext -lX11 -lm $(LZLIB) diff --git a/textproc/kmflcomp/Makefile b/textproc/kmflcomp/Makefile index 56b8618949ac..7fcffe0bda4b 100644 --- a/textproc/kmflcomp/Makefile +++ b/textproc/kmflcomp/Makefile @@ -39,7 +39,7 @@ SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e 's|^install-data-am: install-kmflcompdocDATA|install-data-am:|' \ ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib|-L${X11BASE}/lib|' \ + @${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib|-L${LOCALBASE}/lib|' \ ${WRKSRC}/kmfl_compiler/Makefile.in @${REINPLACE_CMD} -E 's,(VERSION= *)"0\.9\.7",\1"0.9.9",' \ ${WRKSRC}/kmfl_compiler/kmfl_compiler.c diff --git a/www/linux-mplayer-plugin/Makefile.npapi b/www/linux-mplayer-plugin/Makefile.npapi index 84730ebc91e3..becf1f3c4536 100644 --- a/www/linux-mplayer-plugin/Makefile.npapi +++ b/www/linux-mplayer-plugin/Makefile.npapi @@ -129,9 +129,7 @@ USE_NPAPI_EXP+= ${_TEMP_APP__} .endfor NPAPI_APPS?= ${USE_NPAPI_EXP:S.^.${LOCALBASE}/lib/.:S.$./plugins.:N*opera*} \ - ${USE_NPAPI_EXP:S.^.${X11BASE}/lib/.:S.$./plugins.:N*opera*} \ - ${USE_NPAPI_EXP:S.^.${LOCALBASE}/share/.:S.$./plugins.:M*/opera*} \ - ${USE_NPAPI_EXP:S.^.${X11BASE}/share/.:S.$./plugins.:M*/opera*} + ${USE_NPAPI_EXP:S.^.${LOCALBASE}/share/.:S.$./plugins.:M*/opera*} NPAPI_SLDIRS_ALL= ${NPAPI_APPS_ALL:S.^.${NPAPI_SLDIR}/.} NPAPI_SLDIRS= ${USE_NPAPI_EXP:S.^.${NPAPI_SLDIR}/.} NPAPI_LINKFARMS= ${NPAPI_APPS} ${NPAPI_SLDIRS} diff --git a/www/linuxpluginwrapper/Makefile b/www/linuxpluginwrapper/Makefile index 36667364950a..136cc1e97768 100644 --- a/www/linuxpluginwrapper/Makefile +++ b/www/linuxpluginwrapper/Makefile @@ -29,7 +29,7 @@ IGNORE= doesn't support ELF symbol versioning, yet. # I will remove WITH_PLUGINS knob. .if defined(WITH_REALPLAYER) -RUN_DEPENDS+= ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/multimedia/linux-realplayer +RUN_DEPENDS+= ${LOCALBASE}/lib/linux-mozilla/plugins/nphelix.so:${PORTSDIR}/multimedia/linux-realplayer WITH_PLUGINS= 1 .endif @@ -53,7 +53,7 @@ CFLAGS+= -DDEBUG=1 post-build: @${SED} -e 's,%%PREFIX%%,${PREFIX},' \ -e 's,%%LOCALBASE%%,${LOCALBASE},' \ - -e 's,%%X11BASE%%,${X11BASE},' \ + -e 's,%%X11BASE%%,${LOCALBASE},' \ -e 's,%%LTHREADSHMAJOR%%,${LTHREADSHMAJOR},' \ -e 's,%%LIBMAPCONF%%,${LIBMAPCONF},' \ < ${.CURDIR}/pkg-message > ${PKGMESSAGE} @@ -63,12 +63,12 @@ post-build: .if defined(WITH_PLUGINS) pre-install: - @${MKDIR} ${X11BASE}/lib/browser_linux_plugins + @${MKDIR} ${LOCALBASE}/lib/browser_linux_plugins .if defined(WITH_REALPLAYER) - @${LN} -sf ${X11BASE}/lib/linux-mozilla/plugins/nphelix.so \ - ${X11BASE}/lib/browser_linux_plugins/ - @${LN} -sf ${X11BASE}/lib/linux-mozilla/plugins/nphelix.xpt \ - ${X11BASE}/lib/browser_linux_plugins/ + @${LN} -sf ${LOCALBASE}/lib/linux-mozilla/plugins/nphelix.so \ + ${LOCALBASE}/lib/browser_linux_plugins/ + @${LN} -sf ${LOCALBASE}/lib/linux-mozilla/plugins/nphelix.xpt \ + ${LOCALBASE}/lib/browser_linux_plugins/ .endif .endif diff --git a/www/linuxpluginwrapper/pkg-plist b/www/linuxpluginwrapper/pkg-plist index 0495f9b11650..9ab09e1807fc 100644 --- a/www/linuxpluginwrapper/pkg-plist +++ b/www/linuxpluginwrapper/pkg-plist @@ -12,11 +12,11 @@ lib/pluginwrapper/realplayer.so %%EXAMPLESDIR%%/libmap.conf-FreeBSD5-stable %%EXAMPLESDIR%%/libmap.conf-FreeBSD5-current %%EXAMPLESDIR%%/libmap.conf-FreeBSD4.x -@unexec /bin/rm -f %%X11BASE%%/lib/browser_linux_plugins/nphelix.so -@unexec /bin/rm -f %%X11BASE%%/lib/browser_linux_plugins/nphelix.xpt -@unexec /bin/rmdir %%X11BASE%%/lib/browser_linux_plugins 2>/dev/null || true -@exec /bin/mkdir -p %%X11BASE%%/lib/browser_linux_plugins 2>/dev/null || true -@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.so %%X11BASE%%/lib/browser_linux_plugins/ -@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.xpt %%X11BASE%%/lib/browser_linux_plugins/ +@unexec /bin/rm -f %%LOCALBASE%%/lib/browser_linux_plugins/nphelix.so +@unexec /bin/rm -f %%LOCALBASE%%/lib/browser_linux_plugins/nphelix.xpt +@unexec /bin/rmdir %%LOCALBASE%%/lib/browser_linux_plugins 2>/dev/null || true +@exec /bin/mkdir -p %%LOCALBASE%%/lib/browser_linux_plugins 2>/dev/null || true +@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.so %%LOCALBASE%%/lib/browser_linux_plugins/ +@exec /bin/ln -sf %%LOCALBASE%%/lib/linux-mozilla/plugins/nphelix.xpt %%LOCALBASE%%/lib/browser_linux_plugins/ @dirrm lib/pluginwrapper @dirrm %%EXAMPLESDIR%% diff --git a/x11-fm/ezfm/files/patch-aa b/x11-fm/ezfm/files/patch-aa index 80b9cd838d85..3896ba3be47d 100644 --- a/x11-fm/ezfm/files/patch-aa +++ b/x11-fm/ezfm/files/patch-aa @@ -6,7 +6,7 @@ # -DEST_DIR=/usr/local +LOCALBASE?=/usr/local -+X11BASE?=/usr/X11R6 ++X11BASE?=/usr/local +PREFIX?=${LOCALBASE} +DEST_DIR=${PREFIX} # diff --git a/x11-fonts/code2000/pkg-plist b/x11-fonts/code2000/pkg-plist index b0e8a52f6a1c..661fb40fd5fc 100644 --- a/x11-fonts/code2000/pkg-plist +++ b/x11-fonts/code2000/pkg-plist @@ -3,7 +3,7 @@ %%FONTSDIR%%/code2000.ttf %%FONTSDIR%%/fonts.dir %%FONTSDIR%%/fonts.scale -@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true @unexec rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || true -@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true +@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% 2>/dev/null || true @dirrm %%FONTSDIR%% diff --git a/x11-fonts/moveable-type-fonts/pkg-plist b/x11-fonts/moveable-type-fonts/pkg-plist index fa112d19cb49..875d1858911f 100644 --- a/x11-fonts/moveable-type-fonts/pkg-plist +++ b/x11-fonts/moveable-type-fonts/pkg-plist @@ -25,4 +25,4 @@ %%FONTSDIR%%/raleway_thin.ttf @unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true @dirrm %%FONTSDIR%% -@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true +@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true |