Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 17:57:36 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        alexs@snark.rinet.ru, apeiron@coitusmentis.info, arundel@h3c.de, asa@gascom.ru, benlutz@datacomm.ch, blackend@FreeBSD.org, bms@FreeBSD.org, brett@peloton.runet.edu, cartola@openit.com.br, chris@chrisburkert.de, cjh@kr.freebsd.org, cracauer@cons.org, cyrille.lefevre@laposte.net, danfe@FreeBSD.org, darius@dons.net.au, des@FreeBSD.org, dyeske@yahoo.com, ebert@informatik.unibw-muenchen.de, frank@opengroupware.org, freebsd-emulation@FreeBSD.org, girgen@FreeBSD.org, glewis@FreeBSD.org, hido@coreblack.com, holger@e-gitt.net, ip@doom.homeunix.org, jamie@bishopston.net, janos.mohacsi@bsd.hu, java@FreeBSD.org, jylefort@brutele.be, kiesel@schlund.de, kris@FreeBSD.org, lioux@FreeBSD.org, maho@FreeBSD.org, matt@peterson.org, matusita@FreeBSD.org, mb@imp.ch, mbr@FreeBSD.org, mezz@FreeBSD.org, mi@aldan.algebra.com, mranner@inode.at, nik@FreeBSD.org, nivit@users.sourceforge.net, orlando@break.net, pat@FreeBSD.org, pav@FreeBSD.org, ports@brandon.dvalentine.com, riggs@rrr.de, rjoseph@mammalia.org, roam@FreeBSD.org, ryan@sasknow.com, se@FreeBSD.org, sethk@meowfishies.com, sime@logos.hr, simond@irrelevant.org, sr-13@mail.ru, trevor@FreeBSD.org, tux@pinguru.net, udo.schweigert@siemens.com, user@unknown.nu, voisine@gmail.FreeBSD.ORG
Subject:   RFC: cleanup of linux ports
Message-ID:  <20050411175736.mabpo9me4g4cwc4g@netchild.homeip.net>

next in thread | raw e-mail | index | archive | help
This message is in MIME format.

--=_6apxqruzpe4o
Content-Type: text/plain;
	charset=ISO-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Dear maintainers,

attached is a patch to cleanup some issues in our linux ports. Additionally
to the changes described in $PORTSDIR/CHANGES and $PORTSDIR/UPDATING (after
patching off-course :-) ) and corresponding changes in the ports there are
also some cleanups related to the (mis(?)-)use of PREFIX and some cleanups
related to superflous variable definitions.

Please apply the patch (cd into $PORTSDIR and run "patch --quiet -p1
</path/to/wip-patch") and have a look at the ports you maintain ("grep ^diff
/path/to/wip-patch | cut -d ' ' -f 11" prints out a list of affected files).

Feel free to suggest improvements or point out deficits of the patch.

Since the patch also contains some bsd.port.mk bits, I will not commit
anything of this before portmgr tested and committed the bsd.port.mk part. I
don't expect this to happen this week, but please regard this mail as a
request for approval. If you don't answer I will commit this with an
approval by maintainer timeout, so if you want a little bit more time just
tell me how long you need.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
"Drawing on my fine command of language, I said nothing."

--=_6apxqruzpe4o
Content-Type: text/x-patch;
	charset=ISO-8859-1;
	name="ports-WIP.diff"
Content-Disposition: attachment;
	filename="ports-WIP.diff"
Content-Transfer-Encoding: quoted-printable

diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/CHANGES devel_ports/CHANGES
--- ports/CHANGES=09Sat Mar 26 18:33:15 2005
+++ devel_ports/CHANGES=09Sun Apr 10 16:16:00 2005
@@ -10,6 +10,19 @@
 
 All ports committers are allowed to commit to this file.
 
+2005XXYY:
+AUTHOR: netchild@FreeBSD.org
+  - USE_LINUX now implies NO_FILTER_SHLIBS=3Dyes. It also doesn't use Free=
BSD
+    tools to strip binaries anymore, so it's not neccesary anymore to over=
ride
+    STRIP and STRIP_CMD.
+  - USE_LINUX_PREFIX implies NO_MTREE now.
+  - In the USE_LINUX case, USE_XLIB now depends upon the linux X11 librari=
es
+    instead upon the native FreeBSD libraries.
+  - The variable DEFAULT_LINUX_BASE contains a string which is suitable as=
 an
+    item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon th=
e
+    default (or overriden) linux base, ${DEFAULT_LINUX_BASE} should be use=
d+
+    instead of a hardcoded reference.
+
 20050325:
 AUTHOR: jdp@FreeBSD.org
   The CVSup port has been upgraded with a patch to correct the
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/Mk/bsd.port.mk devel_ports/Mk/bsd.port.mk
--- ports/Mk/bsd.port.mk=09Fri Mar 18 00:22:07 2005
+++ devel_ports/Mk/bsd.port.mk=09Sun Apr 10 16:19:08 2005
@@ -280,7 +280,8 @@
 # XMKMF=09=09=09- Set to path of `xmkmf' if not in $PATH
 #=09=09=09=09  Default: xmkmf -a
 # USE_X_PREFIX=09- If set, this port installs in ${X11BASE}.  Implies USE_=
XLIB.
-# USE_XLIB=09=09- If set, this port uses the X libraries.
+# USE_XLIB=09=09- If set, this port uses the X libraries. In the USE_LINUX
+#=09=09=09=09  case the linux X libraries are referenced.
 #
 # USE_FREETYPE=09- If set, this port uses the freetype print libraries.
 # USE_GL=09=09- If set, this port uses libGL (not needed with XFree86 4.x
@@ -347,8 +348,15 @@
 # USE_LINUX=09=09- Set to yes to say the port needs emulators/linux_base-8=
.
 #=09=09=09=09  Set to value <X>, if the port needs emulators/linux_base-<X=
>.
 #=09=09=09=09  If set to "7", a dependency is registered to emulators/linu=
x_base.
+#=09=09=09=09  Implies appropriate settings for NO_FILTER_SHLIBS,
+#=09=09=09=09  STRIP and STRIP_CMD.
 # USE_LINUX_PREFIX
-#=09=09=09=09- controls the action of PREFIX (see above).
+#=09=09=09=09- controls the action of PREFIX (see above). Only use this
+#=09=09=09=09  if the port is a linux infrastructure port (e.g. contains l=
ibs
+#=09=09=09=09  or a sound server which supports the FreeBSD native one),
+#=09=09=09=09  use the default or the X11 prefix if it's a leaf port
+#=09=09=09=09  (e.g. a game or program).
+#=09=09=09=09  Implies NO_MTREE=3Dyes.
 ##
 # USE_MYSQL=09=09- Add MySQL client dependency.
 #=09=09=09=09  If no version is given (by the maintainer via the port or
@@ -1500,15 +1508,35 @@
 .endif
 
 .if defined(USE_LINUX)
+
+# install(1) also does a brandelf on strip, so don't strip with FreeBSD to=
ols.
+STRIP=3D
+.=09if exists(${LINUXBASE}/usr/bin/strip)
+STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
+.=09else
+STRIP_CMD=3D=09${TRUE}
+.=09endif
+
+NO_FILTER_SHLIBS=3D=09yes
+
+# Allow the user to specify another linux_base version.
+.=09if defined(OVERRIDE_DEFAULT_LINUX_BASE)
+.=09=09if ${USE_LINUX} =3D=3D yes
+USE_LINUX=3D=09${OVERRIDE_DEFAULT_LINUX_BASE}
+.=09=09endif
+.=09endif
+
 .=09if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
-RUN_DEPENDS+=3D=09${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${U=
SE_LINUX}
+DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_ba=
se-${USE_LINUX}
 .=09else
 .=09=09if ${USE_LINUX} =3D=3D "7"
-RUN_DEPENDS+=3D ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linu=
x_base
+DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulat=
ors/linux_base
 .=09=09else
-RUN_DEPENDS+=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/li=
nux_base-8
+DEFAULT_LINUX_BASE=3D=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulat=
ors/linux_base-8
 .=09=09endif
 .=09endif
+
+RUN_DEPENDS+=3D=09${DEFAULT_LINUX_BASE}
 .endif
 
 .if defined(USE_MOTIF)
@@ -1775,7 +1803,11 @@
 .endif
 
 .if defined(USE_XLIB)
+.=09if defined(USE_LINUX)
+RUN_DEPENDS+=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x=
11/linux-XFree86-libs
+.=09else
 LIB_DEPENDS+=3D=09X11.6:${X_LIBRARIES_PORT}
+.=09endif
 # Add explicit X options to avoid problems with false positives in configu=
re
 .if defined(GNU_CONFIGURE)
 CONFIGURE_ARGS+=3D--x-libraries=3D${X11BASE}/lib --x-includes=3D${X11BASE}=
/include
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/UPDATING devel_ports/UPDATING
--- ports/UPDATING=09Mon Apr 11 10:14:22 2005
+++ devel_ports/UPDATING=09Mon Apr 11 14:19:55 2005
@@ -15,6 +15,15 @@
 
   gdm_enable=3D"YES"
 
+2005XXYY:
+  AFFECTS: users of alternate linux_base ports
+  AUTHOR: netchild@FreeBSD.org
+
+  The Ports Collection now allows to override the default linux_base port.
+  Specify e.g. OVERRIDE_DEFAULT_LINUX_BASE=3Drh-9 in /etc/make.conf to use
+  ${PORTSDIR}/emulators/linux_base-rh-9 (the logic is to use
+  ${PORTSDIR}/emulators/linux_base-${OVERRIDE_DEFAULT_LINUX_BASE}).
+
 20050406:
   AFFECTS: users of databases/mysql50-server
   AUTHOR: ale@FreeBSD.org
@@ -41,7 +50,7 @@
   11.x to 12.x.
 
 20050324:
-  AFFECTS: users of net/mDNSResponder,
+  AFFECTS: users of net/mDNSResponder
   AUTHOR: brooks@FreeBSD.org
 
   In mDNSResponder 98_1, mdnsd is no longer started by default due to a
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/archivers/stuffit/Makefile devel_ports/archivers/stuffit/Makef=
ile
--- ports/archivers/stuffit/Makefile=09Tue Mar  1 22:51:24 2005
+++ devel_ports/archivers/stuffit/Makefile=09Thu Apr  7 16:34:24 2005
@@ -20,8 +20,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386 amd64
 
-USE_LINUX?=3D=09yes
-STRIP=3D=09=09# empty: do not strip linux binary during INSTALL_PROGRAM
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 STUFFIT_FILES=3D=09bin/unstuff bin/stuff
 STUFFIT_MAN=3D=09man/man1/stuff.1 man/man1/unstuff.1
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/astro/linux-setiathome/Makefile devel_ports/astro/linux-setiat=
home/Makefile
--- ports/astro/linux-setiathome/Makefile=09Tue Mar  1 22:51:24 2005
+++ devel_ports/astro/linux-setiathome/Makefile=09Thu Apr  7 15:01:20 2005
@@ -16,7 +16,7 @@
 #
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 
 # Local variables
 #
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/baudline/Makefile devel_ports/audio/baudline/Makefile
--- ports/audio/baudline/Makefile=09Tue Mar  1 22:51:25 2005
+++ devel_ports/audio/baudline/Makefile=09Thu Apr  7 16:34:41 2005
@@ -16,15 +16,14 @@
 MAINTAINER=3D=09dyeske@yahoo.com
 COMMENT=3D=09A real-time signal analysis tool and an offline time-frequenc=
y browser
 
-RUN_DEPENDS=3D=09mpg123:${PORTSDIR}/audio/mpg123 \
-=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
+RUN_DEPENDS=3D=09mpg123:${PORTSDIR}/audio/mpg123
 
 BROKEN=3D=09=09Unfetchable
 
 USE_X_PREFIX=3D=09yes
+USE_LINUX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 NO_BUILD=3D=09yes
-STRIP=3D
 
 # Linux binary should not be stripped by INSTALL_PROGRAM
 # because as a side effect it brands the binary as FreeBSD.
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/linux-arts/Makefile devel_ports/audio/linux-arts/Makefil=
e
--- ports/audio/linux-arts/Makefile=09Mon Apr 11 10:01:27 2005
+++ devel_ports/audio/linux-arts/Makefile=09Mon Apr 11 15:27:32 2005
@@ -21,15 +21,13 @@
 
 BUILD_DEPENDS=3D=09=09rpm:${PORTSDIR}/archivers/rpm
 
-USE_LINUX?=3D=09=09yes
-PREFIX?=3D=09=09${LINUXBASE}
-NO_MTREE=3D=09=09yes
+USE_LINUX=3D=09=09yes
+USE_LINUX_PREFIX=3D=09yes
 LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig
 
 ONLY_FOR_ARCHS=3D=09=09i386
 DIST_SUBDIR=3D=09=09rpm
 NO_BUILD=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 PLIST=3D=09=09=09${MASTERDIR}/pkg-plist.${ARCH}
 MD5_FILE=3D=09=09${MASTERDIR}/distinfo.${ARCH}
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/linux-mbrola/Makefile devel_ports/audio/linux-mbrola/Mak=
efile
--- ports/audio/linux-mbrola/Makefile=09Tue Mar  1 22:51:25 2005
+++ devel_ports/audio/linux-mbrola/Makefile=09Thu Apr  7 15:16:18 2005
@@ -19,7 +19,7 @@
 MASTERDIR=3D=09${PORTSDIR}/audio/mbrola
 MD5_FILE=3D=09${.CURDIR}/distinfo
 ONLY_FOR_ARCHS=3D=09alpha i386 ppc sparc64
-USE_LINUX?=3D=09y
+USE_LINUX=3D=09yes
 USE_ZIP=3D=09y
 
 MASTERDIR=3D=09${.CURDIR}/../mbrola
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/linux-vsound/Makefile devel_ports/audio/linux-vsound/Mak=
efile
--- ports/audio/linux-vsound/Makefile=09Tue Mar  1 22:51:25 2005
+++ devel_ports/audio/linux-vsound/Makefile=09Thu Apr  7 15:14:18 2005
@@ -19,7 +19,7 @@
 
 RUN_DEPENDS=3D=09sox:${PORTSDIR}/audio/sox/
 
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
 
 do-install:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/teamspeak_client/Makefile devel_ports/audio/teamspeak_cl=
ient/Makefile
--- ports/audio/teamspeak_client/Makefile=09Wed Mar  2 06:42:43 2005
+++ devel_ports/audio/teamspeak_client/Makefile=09Thu Apr  7 16:22:17 2005
@@ -21,8 +21,8 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_BZIP2=3D=09yes
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 
 do-install:
 =09${MKDIR} ${PREFIX}/lib/teamspeak_client
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/audio/teamspeak_server/Makefile devel_ports/audio/teamspeak_se=
rver/Makefile
--- ports/audio/teamspeak_server/Makefile=09Tue Mar  1 22:51:26 2005
+++ devel_ports/audio/teamspeak_server/Makefile=09Thu Apr  7 16:22:24 2005
@@ -20,8 +20,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 USE_BZIP2=3D=09yes
 NO_BUILD=3D=09yes
-USE_LINUX?=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
+USE_LINUX=3D=09yes
 
 do-install:
 =09@ ${SETENV} PKG_PREFIX=3D${PREFIX} \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/cad/linux-eagle/Makefile devel_ports/cad/linux-eagle/Makefile
--- ports/cad/linux-eagle/Makefile=09Tue Mar  1 22:51:26 2005
+++ devel_ports/cad/linux-eagle/Makefile=09Thu Apr  7 15:01:14 2005
@@ -28,7 +28,7 @@
 RESTRICTED=3D=09"Usage permitted for non-commercial purposes only"
 NO_CDROM=3D=09"Sale for profit is not permitted"
 
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
 PKGMESSAGE=3D=09${WRKDIR}/pkg-message
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/databases/sybase_ase/Makefile devel_ports/databases/sybase_ase=
/Makefile
--- ports/databases/sybase_ase/Makefile=09Tue Mar  1 22:51:26 2005
+++ devel_ports/databases/sybase_ase/Makefile=09Mon Apr 11 15:28:26 2005
@@ -22,7 +22,7 @@
 NO_INSTALL_MANPAGES=3D yes
 PKGDEINSTALL=3D=09${PKGDIR}/pkg-install
 
-USE_LINUX?=3D      yes
+USE_LINUX=3D=09yes
 
 pre-install:
 =09@${ECHO_MSG} "---> Creating sybase user and group"
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux-allegro/Makefile devel_ports/devel/linux-allegro/M=
akefile
--- ports/devel/linux-allegro/Makefile=09Mon Apr 11 10:01:46 2005
+++ devel_ports/devel/linux-allegro/Makefile=09Mon Apr 11 14:19:58 2005
@@ -18,14 +18,13 @@
 MAINTAINER=3D=09freebsd-emulation@FreeBSD.org
 COMMENT=3D=09Cross-platform game programming library (linux version)
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 USE_LINUX_PREFIX=3D=09yes
 LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig
 
 ONLY_FOR_ARCHS=3D=09i386
 DIST_SUBDIR=3D=09rpm
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 DBPATH=3D=09=09/var/lib/rpm
 RPMFLAGS=3D=09--ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux-runrev/Makefile devel_ports/devel/linux-runrev/Mak=
efile
--- ports/devel/linux-runrev/Makefile=09Tue Mar  1 22:51:26 2005
+++ devel_ports/devel/linux-runrev/Makefile=09Thu Apr  7 16:40:05 2005
@@ -19,23 +19,18 @@
 MAINTAINER=3D=09blackend@FreeBSD.org
 COMMENT=3D=09Revolution is a rapid application development environment
 
-RUN_DEPENDS=3D=09xanim:${PORTSDIR}/multimedia/xanim \
-=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
+RUN_DEPENDS=3D=09xanim:${PORTSDIR}/multimedia/xanim
 
 NO_CDROM=3D=09"Sale for profit is not permitted"
 
 ONLY_FOR_ARCHS=3D=09i386
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 WRKSRC=3D=09=09${WRKDIR}/Revolution-${PORTVERSION}
 DATADIR=3D=09${PREFIX}/share/Revolution-${PORTVERSION}
 
-BRANDELF?=3D=09/usr/bin/brandelf
-# do not strip linux binaries
-STRIP=3D
-# try using the Linux strip command 
-STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
-
 BIN_FILES=3D=09revolution
 LIB_DIRS=3D=09Databases components components/assistants \
 =09=09components/help components/help/Appendixes \
@@ -99,9 +94,7 @@
 .endfor
 # binaries
 .for file in ${BIN_FILES}
-. if exists(${STRIP_CMD})
 =09@${STRIP_CMD} ${WRKSRC}/${file}
-. endif
 =09@${BRANDELF} -t Linux ${WRKSRC}/${file}
 =09@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${DATADIR}/${file}
 .endfor
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux-understand_ada/Makefile devel_ports/devel/linux-un=
derstand_ada/Makefile
--- ports/devel/linux-understand_ada/Makefile=09Fri Apr  1 03:27:54 2005
+++ devel_ports/devel/linux-understand_ada/Makefile=09Mon Apr 11 15:30:58 2=
005
@@ -17,8 +17,6 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Understand can parse a Ada project helping reverse engineer i=
t
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo=
rt contract"
 DEPRECATED=3D=09${IGNORE}
 EXPIRATION_DATE=3D=092005-05-01
@@ -27,11 +25,10 @@
 ONLY_FOR_ARCHS=3D=09i386
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 PREFIX_LINUX?=3D=09${LINUXBASE}
-STRIP=3D=09=09${LINUXBASE}/usr/bin/strip
-BRANDELF?=3D=09/usr/bin/brandelf
-FMT?=3D=09=09/usr/bin/fmt
 INSTALL_DATA_DIR?=3D=09${INSTALL} -d -o ${SHAREOWN} \
 =09=09=09-g ${SHAREGRP} -m 755
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux-understand_c/Makefile devel_ports/devel/linux-unde=
rstand_c/Makefile
--- ports/devel/linux-understand_c/Makefile=09Fri Apr  1 03:27:54 2005
+++ devel_ports/devel/linux-understand_c/Makefile=09Mon Apr 11 15:31:26 200=
5
@@ -18,8 +18,6 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Understand can parse a C/C++ project helping reverse engineer=
 it
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo=
rt contract"
 DEPRECATED=3D=09${IGNORE}
 EXPIRATION_DATE=3D=092005-05-01
@@ -28,11 +26,10 @@
 ONLY_FOR_ARCHS=3D=09i386
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 PREFIX_LINUX?=3D=09${LINUXBASE}
-STRIP=3D=09=09${LINUXBASE}/usr/bin/strip
-BRANDELF?=3D=09/usr/bin/brandelf
-FMT?=3D=09=09/usr/bin/fmt
 
 CONF_DIRS=3D=09compilers configs fonts license
 CONF_FILES=3D=09compilers/aix.cfg compilers/alpha.cfg \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux-understand_java/Makefile devel_ports/devel/linux-u=
nderstand_java/Makefile
--- ports/devel/linux-understand_java/Makefile=09Fri Apr  1 03:27:54 2005
+++ devel_ports/devel/linux-understand_java/Makefile=09Mon Apr 11 15:32:00 =
2005
@@ -17,8 +17,6 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Understand can parse a Java project helping reverse engineer =
it
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 IGNORE=3D=09=09"is unfetchable and outdated and new version requires suppo=
rt contract"
 DEPRECATED=3D=09${IGNORE}
 EXPIRATION_DATE=3D=092005-05-01
@@ -27,11 +25,10 @@
 ONLY_FOR_ARCHS=3D=09i386
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 PREFIX_LINUX?=3D=09${LINUXBASE}
-STRIP=3D=09=09${LINUXBASE}/usr/bin/strip
-BRANDELF?=3D=09/usr/bin/brandelf
-FMT?=3D=09=09/usr/bin/fmt
 INSTALL_DATA_DIR?=3D=09${INSTALL} -d -o ${SHAREOWN} \
 =09=09=09-g ${SHAREGRP} -m 755
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/linux_devtools/Makefile devel_ports/devel/linux_devtools=
/Makefile
--- ports/devel/linux_devtools/Makefile=09Mon Apr 11 04:59:57 2005
+++ devel_ports/devel/linux_devtools/Makefile=09Mon Apr 11 14:23:45 2005
@@ -35,17 +35,12 @@
 
 BUILD_DEPENDS=3D=09rpm:${PORTSDIR}/archivers/rpm
 
-RESTRICTED=3D=09=09"binaries under GNU GPL without accompanying source"
-
-USE_LINUX?=3D=09=09yes
-NO_LATEST_LINK=3D=09=09yes
+USE_LINUX=3D=09=098
+USE_LINUX_PREFIX=3D=09yes
 ONLY_FOR_ARCHS=3D=09=09i386 amd64
 CONFLICTS=3D=09=09linux_devtools-*
 DIST_SUBDIR=3D=09=09rpm/${ARCH}/${PORTVERSION}
-PREFIX=3D=09=09=09${LINUXBASE}
 NO_BUILD=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
-NO_MTREE=3D=09=09yes
 PLIST=3D=09=09=09${WRKDIR}/pkg-plist
 
 # Let's avoid hardcoding 'en' as the language.
@@ -57,8 +52,8 @@
 
 DBPATH=3D=09=09=09/var/lib/rpm
 RPM=3D=09=09=09LC_ALL=3DC rpm
-RPMFLAGS=3D=09=09--root ${LINUXBASE} --dbpath ${DBPATH} --nodeps \
-=09=09=09--replacepkgs --ignoreos
+RPMFLAGS=3D=09=09--root ${PREFIX} --dbpath ${DBPATH} --nodeps \
+=09=09=09--replacepkgs --ignoreos --ignorearch
 RPMDIR=3D=09=09=09${DISTDIR}/${DIST_SUBDIR}
 
 REMOVE_DIRS=3D=09=09dev tmp var/tmp
@@ -87,12 +82,15 @@
 
 do-install:
 =09@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-=09@${MKDIR} ${LINUXBASE}/tmp
-=09@${MKDIR} ${LINUXBASE}/var/tmp
-=09@${MKDIR} ${LINUXBASE}/dev
-=09@${RM} -f ${LINUXBASE}/dev/null
-=09@mknod ${LINUXBASE}/dev/null c 2 2
-=09@${CHMOD} 666 ${LINUXBASE}/dev/null
+=09@${MKDIR} ${PREFIX}/tmp
+=09@${MKDIR} ${PREFIX}/var/tmp
+# this isn't needed on a devfs system
+.if ( ${OSVERSION} < 502100 )
+=09@${MKDIR} ${PREFIX}/dev
+=09@${RM} -f ${PREFIX}/dev/null
+=09@mknod ${PREFIX}/dev/null c 2 2
+=09@${CHMOD} 666 ${PREFIX}/dev/null
+.endif
 #
 # Install all packages.
 =09@for R in ${DISTFILES}; do \
@@ -108,10 +106,10 @@
 #
 # Finish
 =09@for D in ${REMOVE_DIRS}; do \
-=09=09${RM} -rf ${LINUXBASE}/$$D; \
+=09=09${RM} -rf ${PREFIX}/$$D; \
 =09done
 =09@for F in ${REMOVE_FILES}; do \
-=09=09${RM} ${LINUXBASE}/$$F; \
+=09=09${RM} ${PREFIX}/$$F; \
 =09done
 
 .include <bsd.port.post.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/devel/zendstudio/Makefile devel_ports/devel/zendstudio/Makefil=
e
--- ports/devel/zendstudio/Makefile=09Tue Mar  1 22:51:27 2005
+++ devel_ports/devel/zendstudio/Makefile=09Thu Apr  7 15:29:23 2005
@@ -20,6 +20,7 @@
 RESTRICTED=3D=09"Redistribution is not permitted"
 NO_PACKAGES=3D=09${RESTRICTED}
 NO_CDROM=3D=09${RESTRICTED}
+USE_LINUX=3D=09yes
 
 .include <bsd.port.pre.mk>
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/editors/edith/Makefile devel_ports/editors/edith/Makefile
--- ports/editors/edith/Makefile=09Tue Mar  1 22:51:27 2005
+++ devel_ports/editors/edith/Makefile=09Thu Apr  7 16:42:30 2005
@@ -16,10 +16,9 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09A X11 GUI editor for binary and plain text files
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
-USE_X_PREFIX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 RESTRICTED=3D=09"Redistribution not allowed"
 NO_BUILD=3D=09yes
@@ -29,7 +28,6 @@
 
 WRKSRC=3D=09=09${WRKDIR}/edith
 EDITHDIR=3D=09${PREFIX}/lib/edith
-STRIP=3D
 
 do-install:
 =09${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/edith ${PREFIX}/bin
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/editors/staroffice5/Makefile devel_ports/editors/staroffice5/M=
akefile
--- ports/editors/staroffice5/Makefile=09Tue Mar  1 22:51:27 2005
+++ devel_ports/editors/staroffice5/Makefile=09Thu Apr  7 15:30:45 2005
@@ -26,6 +26,7 @@
 NO_CDROM=3D=09'Must be downloaded direct from Sun via www interface'
 
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
 IS_INTERACTIVE=3D=09yes
 EXTRACT_ONLY=3D=09${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_CMD=3D=09${CAT}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/editors/staroffice52/Makefile devel_ports/editors/staroffice52=
/Makefile
--- ports/editors/staroffice52/Makefile=09Tue Mar  1 22:51:28 2005
+++ devel_ports/editors/staroffice52/Makefile=09Thu Apr  7 15:31:15 2005
@@ -42,6 +42,7 @@
 IS_INTERACTIVE=3D=09yes
 NO_BUILD=3D=09yes
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
 DIST_SUBDIR=3D=09staroffice52
 WRKSRC=3D=09=09${WRKDIR}/office52
 TMPDIR=3D=09=09${WRKDIR}/tmp
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/editors/staroffice60/Makefile devel_ports/editors/staroffice60=
/Makefile
--- ports/editors/staroffice60/Makefile=09Tue Mar  1 22:51:28 2005
+++ devel_ports/editors/staroffice60/Makefile=09Thu Apr  7 15:31:32 2005
@@ -32,6 +32,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 NO_CDROM=3D=09'Must be bought and downloaded direct from Sun via www inter=
face'
 
+USE_LINUX=3D=09yes
 IS_INTERACTIVE=3D=09yes
 NO_BUILD=3D=09yes
 SOVERSION=3D=09${PORTNAME}${PORTVERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/editors/staroffice70/Makefile devel_ports/editors/staroffice70=
/Makefile
--- ports/editors/staroffice70/Makefile=09Tue Mar  1 22:51:28 2005
+++ devel_ports/editors/staroffice70/Makefile=09Thu Apr  7 15:31:46 2005
@@ -35,6 +35,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 NO_CDROM=3D=09'Must be bought and downloaded direct from Sun via www inter=
face'
 
+USE_LINUX=3D=09yes
 IS_INTERACTIVE=3D=09yes
 NO_BUILD=3D=09yes
 SOVERSION=3D=09${PORTNAME}${PORTVERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-geepee32/Makefile devel_ports/emulators/linux-=
geepee32/Makefile
--- ports/emulators/linux-geepee32/Makefile=09Tue Mar  1 22:51:28 2005
+++ devel_ports/emulators/linux-geepee32/Makefile=09Thu Apr  7 16:51:20 200=
5
@@ -15,17 +15,16 @@
 MAINTAINER=3D=09arundel@h3c.de
 COMMENT=3D=09The only GP32 emulator for i386
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li=
nux-sdl12 \
-=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
+RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li=
nux-sdl12
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_X_PREFIX=3D=09yes
+USE_LINUX=3D=09yes
 USE_ZIP=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
 USE_REINPLACE=3D=09yes
 REINPLACE_ARGS=3D
-STRIP=3D
 
 TARGET_DIR=3D=09${PREFIX}/${PORTNAME}
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-peops-softgpu/Makefile devel_ports/emulators/l=
inux-peops-softgpu/Makefile
--- ports/emulators/linux-peops-softgpu/Makefile=09Tue Mar  1 22:51:28 2005
+++ devel_ports/emulators/linux-peops-softgpu/Makefile=09Thu Apr  7 16:44:1=
9 2005
@@ -19,22 +19,20 @@
 
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
-
 MAJOR=3D=09=09${PORTVERSION:R}
 MINOR=3D=09=09${PORTVERSION:E}
 PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR}
 
 .include <bsd.port.pre.mk>
 
-PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins
-PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg
-PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg
+PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins
+PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg
+PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg
 
 do-install:
 =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-peops-spu/Makefile devel_ports/emulators/linux=
-peops-spu/Makefile
--- ports/emulators/linux-peops-spu/Makefile=09Tue Mar  1 22:51:29 2005
+++ devel_ports/emulators/linux-peops-spu/Makefile=09Thu Apr  7 16:44:58 20=
05
@@ -19,22 +19,20 @@
 
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
-
 MAJOR=3D=09=09${PORTVERSION:R}
 MINOR=3D=09=09${PORTVERSION:E}
 PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR}
 
 .include <bsd.port.pre.mk>
 
-PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins
-PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg
-PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg
+PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins
+PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg
+PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg
 
 do-install:
 =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-pete-mesagpu/Makefile devel_ports/emulators/li=
nux-pete-mesagpu/Makefile
--- ports/emulators/linux-pete-mesagpu/Makefile=09Tue Mar  1 22:51:29 2005
+++ devel_ports/emulators/linux-pete-mesagpu/Makefile=09Thu Apr  7 16:49:36=
 2005
@@ -21,22 +21,20 @@
 
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
-
 MAJOR=3D=09=09${PORTVERSION:R}
 MINOR=3D=09=09${PORTVERSION:E}
 PLIST_SUB+=3D=09MAJOR=3D${MAJOR} MINOR=3D${MINOR}
 
 .include <bsd.port.pre.mk>
 
-PSEMUPRO_PLUGINS_DIR=3D=09${LOCALBASE}/lib/psemupro/plugins
-PSEMUPRO_CFGBINS_DIR=3D=09${LOCALBASE}/libexec/psemupro/cfg
-PSEMUPRO_CFGFILES_DIR=3D=09${LOCALBASE}/share/psemupro/cfg
+PSEMUPRO_PLUGINS_DIR=3D=09${PREFIX}/lib/psemupro/plugins
+PSEMUPRO_CFGBINS_DIR=3D=09${PREFIX}/libexec/psemupro/cfg
+PSEMUPRO_CFGFILES_DIR=3D=09${PREFIX}/share/psemupro/cfg
 
 do-install:
 =09${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-vmware-toolbox2/Makefile devel_ports/emulators=
/linux-vmware-toolbox2/Makefile
--- ports/emulators/linux-vmware-toolbox2/Makefile=09Tue Mar  1 22:51:29 20=
05
+++ devel_ports/emulators/linux-vmware-toolbox2/Makefile=09Thu Apr  7 16:49=
:55 2005
@@ -16,8 +16,6 @@
 MAINTAINER=3D=09matusita@FreeBSD.org
 COMMENT=3DVMware toolbox for guest OS (for VMware 2.x, Linux version)
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 ONLY_FOR_ARCHS=3D=09i386
 PLIST_FILES=3D=09bin/linux-vmware-toolbox
 USE_X_PREFIX=3D=09yes
@@ -47,7 +45,6 @@
 .else
 MOUNT_DEV?=3D=09fd0
 .endif
-STRIP=3D
 
 VMWARE_VER=3D=092.0.4
 BUILD_VER=3D=091142
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-vmware-toolbox4/Makefile devel_ports/emulators=
/linux-vmware-toolbox4/Makefile
--- ports/emulators/linux-vmware-toolbox4/Makefile=09Tue Mar  8 03:01:46 20=
05
+++ devel_ports/emulators/linux-vmware-toolbox4/Makefile=09Thu Apr  7 16:50=
:34 2005
@@ -16,17 +16,15 @@
 MAINTAINER=3D=09matusita@FreeBSD.org
 COMMENT=3DVMware toolbox for guest OS (for VMware 4.x, Linux version)
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 DISTDIR=3D=09${MOUNT_PT}
 IGNOREFILES=3D=09${DISTFILES}
 PLIST_FILES=3D=09bin/linux-vmware-toolbox
 WRKSRC=3D=09=09${WRKDIR}/vmware-tools-distrib
-STRIP=3D
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_X_PREFIX=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 .if !defined(BATCH)
 IS_INTERACTIVE=3D=09yes
 .endif
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/linux-winetools/Makefile devel_ports/emulators/linux=
-winetools/Makefile
--- ports/emulators/linux-winetools/Makefile=09Tue Mar  1 22:51:29 2005
+++ devel_ports/emulators/linux-winetools/Makefile=09Thu Apr  7 16:51:02 20=
05
@@ -16,16 +16,14 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09A setup and configuration tool for WINE
 
-RUN_DEPENDS=3D=09wine:${PORTSDIR}/emulators/wine \
-=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
+RUN_DEPENDS=3D=09wine:${PORTSDIR}/emulators/wine
 
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 PLIST_FILES=3D=09bin/winetools
-
-BRANDELF?=3D=09/usr/bin/brandelf
-STRIP=3D
 
 post-extract:
 =09@${BRANDELF} -t Linux ${WRKDIR}/${PORTNAME}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/rtc/Makefile devel_ports/emulators/rtc/Makefile
--- ports/emulators/rtc/Makefile=09Tue Mar  1 22:51:29 2005
+++ devel_ports/emulators/rtc/Makefile=09Thu Apr  7 15:37:07 2005
@@ -18,7 +18,7 @@
 WRKSRC=3D=09=09${WRKDIR}/files
 
 NO_FETCH=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes=09# because of ${DEVDIR}
 
 KMODDIR=3D=09${PREFIX}/modules
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/vmware2/Makefile devel_ports/emulators/vmware2/Makef=
ile
--- ports/emulators/vmware2/Makefile=09Tue Mar  1 22:51:30 2005
+++ devel_ports/emulators/vmware2/Makefile=09Thu Apr  7 15:39:47 2005
@@ -45,7 +45,7 @@
 SRC_BASE?=3D=09/usr/src
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_XLIB=3D=09yes
+USE_LINUX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/vmware-distrib
 GZCAT=3D=09=09${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract
 MAN1=3D=09=09vmware.1
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/emulators/vmware3/Makefile devel_ports/emulators/vmware3/Makef=
ile
--- ports/emulators/vmware3/Makefile=09Tue Mar  1 22:51:30 2005
+++ devel_ports/emulators/vmware3/Makefile=09Thu Apr  7 15:40:55 2005
@@ -22,7 +22,7 @@
 MAINTAINER=3D=09orlando@break.net
 COMMENT=3D=09A virtual machine emulator - a full PC in a window
 
-RUN_DEPENDS=3D=09/dev/rtc:${PORTSDIR}/emulators/rtc \
+RUN_DEPENDS=3D=09${LINUXBASE}/dev/rtc:${PORTSDIR}/emulators/rtc \
 =09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
 
 RESTRICTED=3D=09"Not sure if we can redistribute it"
@@ -39,7 +39,7 @@
 SRC_BASE?=3D=09/usr/src
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_XLIB=3D=09yes
+USE_LINUX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/vmware-distrib
 GZCAT=3D=09=09${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract
 MAN1=3D=09=09vmware.1
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/french/gibi/Makefile devel_ports/french/gibi/Makefile
--- ports/french/gibi/Makefile=09Sat Apr  2 22:14:43 2005
+++ devel_ports/french/gibi/Makefile=09Thu Apr  7 15:43:27 2005
@@ -35,6 +35,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
 REINPLACE_ARGS=3D=09-i ""
 NO_BUILD=3D=09yes
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/french/homard/Makefile devel_ports/french/homard/Makefile
--- ports/french/homard/Makefile=09Sat Apr  2 22:15:09 2005
+++ devel_ports/french/homard/Makefile=09Thu Apr  7 15:42:03 2005
@@ -26,7 +26,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_PYTHON=3D=09yes
 USE_REINPLACE=3D=09yes
 REINPLACE_ARGS=3D=09-i ""
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/french/staroffice52/Makefile devel_ports/french/staroffice52/M=
akefile
--- ports/french/staroffice52/Makefile=09Tue Mar  1 22:51:30 2005
+++ devel_ports/french/staroffice52/Makefile=09Thu Apr  7 15:42:55 2005
@@ -36,6 +36,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NO_CDROM=3D=09'Doit =EAtre t=E9l=E9charg=E9 depuis le site web de Sun'
 CD_MOUNTPT=3D=09'/cdrom'
 IS_INTERACTIVE=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/HeroesOfMightAndMagic/Makefile devel_ports/games/HeroesO=
fMightAndMagic/Makefile
--- ports/games/HeroesOfMightAndMagic/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/HeroesOfMightAndMagic/Makefile=09Thu Apr  7 15:43:45 =
2005
@@ -20,6 +20,7 @@
 PLIST=3D=09=09${WRKDIR}/PLIST
 IS_INTERACTIVE=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_CDROM=3D=09Software is commercial
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/adom/Makefile devel_ports/games/adom/Makefile
--- ports/games/adom/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/adom/Makefile=09Thu Apr  7 16:51:36 2005
@@ -15,11 +15,11 @@
 MAINTAINER=3D=09sr-13@mail.ru
 COMMENT=3D=09An rogue-like advanced rpg with color support (binary port)
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 NO_CDROM=3D=09Copy of CD must be sent to author
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 WRKSRC=3D=09=09${WRKDIR}/adom
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/atitd/Makefile devel_ports/games/atitd/Makefile
--- ports/games/atitd/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/atitd/Makefile=09Thu Apr  7 16:55:30 2005
@@ -28,13 +28,14 @@
 .endif
 
 PLIST_FILES=3D=09bin/atitd
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 USE_MESA=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
 NO_CDROM=3D=09"Redistribution not allowed"
-NO_PACKAGE=3D=09"Not packagable."
 NO_BUILD=3D=09yes
+NO_PACKAGE=3D=09"Not packagable."
 NO_WRKSUBDIR=3D=09yes
 
 LINUX_SH=3D=09${LINUXBASE}/bin/sh
@@ -58,6 +59,7 @@
 post-install:
 =09@${ECHO_MSG} "=3D=3D=3D>  Fixing permissions."
 =09@${CHOWN} -R atitd:atitd ${PREFIX}/games/atitd
+=09@${BRANDELF} -t Linux ${PREFIX}/games/atitd/elaunch
 =09@${CHMOD} ug+s ${PREFIX}/games/atitd/elaunch
 =09${INSTALL_SCRIPT} ${WRKSRC}/atitd.sh ${PREFIX}/bin/atitd
 =09@${ECHO_MSG} "=3D=3D=3D>  Running the post-install script."
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/dsnake/Makefile devel_ports/games/dsnake/Makefile
--- ports/games/dsnake/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/dsnake/Makefile=09Thu Apr  7 17:12:24 2005
@@ -20,9 +20,12 @@
 NO_PACKAGE=3D=09Licence forbids any repacking and reselling
 
 ONLY_FOR_ARCHS=3D=09i386
-NO_BUILD=3D=09yes
-PREFIX?=3D=09${X11BASE}
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/DeluxeSnake
+
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/dsnake
 
 do-install:
 =09${MKDIR} ${DATADIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/halflifeserver/Makefile devel_ports/games/halflifeserver=
/Makefile
--- ports/games/halflifeserver/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/halflifeserver/Makefile=09Thu Apr  7 15:45:16 2005
@@ -18,7 +18,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_PERL5=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/hlserver-cs/Makefile devel_ports/games/hlserver-cs/Makef=
ile
--- ports/games/hlserver-cs/Makefile=09Tue Mar  1 22:51:31 2005
+++ devel_ports/games/hlserver-cs/Makefile=09Thu Apr  7 15:45:49 2005
@@ -26,7 +26,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_PERL5=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/hohlin/Makefile devel_ports/games/hohlin/Makefile
--- ports/games/hohlin/Makefile=09Tue Mar  1 22:51:32 2005
+++ devel_ports/games/hohlin/Makefile=09Thu Apr  7 15:50:10 2005
@@ -22,6 +22,7 @@
 WRKSRC=3D=09=09${WRKDIR}/hoh-install-${PORTVERSION}/
 
 USE_BZIP2=3D=09YES
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09YES
 ONLY_FOR_ARCHS=3D=09i386
 SHORTPORTVERSION=3D${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-enemyterritory/Makefile devel_ports/games/linux-en=
emyterritory/Makefile
--- ports/games/linux-enemyterritory/Makefile=09Tue Mar  1 22:51:32 2005
+++ devel_ports/games/linux-enemyterritory/Makefile=09Thu Apr  7 15:49:38 2=
005
@@ -27,7 +27,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_PACKAGE=3D=09Distfile is 258MB, set FORCE_PACKAGE if you really want to=
 build this package
 RESTRICTED=3D=09Redistribution is limited, see license
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-nwnclient/Makefile devel_ports/games/linux-nwnclie=
nt/Makefile
--- ports/games/linux-nwnclient/Makefile=09Tue Mar  1 22:51:32 2005
+++ devel_ports/games/linux-nwnclient/Makefile=09Thu Apr  7 15:49:57 2005
@@ -23,6 +23,7 @@
 
 NO_BUILD=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NWNDATADIR=3D=09${LOCALBASE}/share/nwndata
 
 PLIST_SUB+=3D=09NWNVERSION=3D"${PORTVERSION:S/.//}"
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-nwserver/Makefile devel_ports/games/linux-nwserver=
/Makefile
--- ports/games/linux-nwserver/Makefile=09Tue Mar  1 22:51:32 2005
+++ devel_ports/games/linux-nwserver/Makefile=09Thu Apr  7 16:59:18 2005
@@ -16,14 +16,13 @@
 MAINTAINER=3D=09apeiron@coitusmentis.info
 COMMENT=3D=09Neverwinter Nights Linux (x86) Dedicated Server
 
-USE_LINUX?=3D=09yes
-NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 WRKSRC=3D=09=09${WRKDIR}
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
+do-build:
+=09${BRANDELF} -t Linux ${WRKDIR}/fixinstall
+=09${BRANDELF} -t Linux ${WRKDIR}/nwserver
 
 do-install:
 =09${INSTALL_PROGRAM} ${WRKDIR}/fixinstall ${PREFIX}/bin
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-q3ademo/Makefile devel_ports/games/linux-q3ademo/M=
akefile
--- ports/games/linux-q3ademo/Makefile=09Tue Mar  1 22:51:32 2005
+++ devel_ports/games/linux-q3ademo/Makefile=09Thu Apr  7 16:59:49 2005
@@ -21,8 +21,9 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Linux 3d shooter from id Software / Loki Software (demo versi=
on)
 
-PREFIX?=3D=09${X11BASE}
 USE_GL=3D=09=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 .include <bsd.port.pre.mk>
 
@@ -32,9 +33,6 @@
 RUN_DEPENDS +=3D=09${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_gl=
x
 .endif
 
-# Linux binary should not be stripped by INSTALL_PROGRAM as it uses /usr/b=
in/strip which then brands the binary as a FreeBSD ELF one.
-STRIP=3D
-
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
 IGNORE=3D=09=09may not be automatically fetched due to licensing\
 =09=09restrictions.  You MUST manually fetch the Linux version from:\
@@ -63,6 +61,8 @@
 =09@${ECHO_CMD} "quake=3D\"./q3demo\"" >> ${WRKSRC}/q3demo
 =09@${ECHO_CMD} "\""$$"quake\" "$$"*" >> ${WRKSRC}/q3demo
 =09@${ECHO_CMD} "exit "$$"?" >> ${WRKSRC}/q3demo
+=09@${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3ded
+=09@${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3demo
 
 do-install:
 =09${INSTALL_PROGRAM} ${WRKSRC}/q3demo ${PREFIX}/bin
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-spheresofchaos-demo/Makefile devel_ports/games/lin=
ux-spheresofchaos-demo/Makefile
--- ports/games/linux-spheresofchaos-demo/Makefile=09Tue Mar  1 22:51:32 20=
05
+++ devel_ports/games/linux-spheresofchaos-demo/Makefile=09Thu Apr  7 15:50=
:22 2005
@@ -21,6 +21,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li=
nux-sdl12
 
 USE_ZIP=3D=09yes
+USE_LINUX=3D=09yes
 
 NO_BUILD=3D=09yes
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/linux-steam/Makefile devel_ports/games/linux-steam/Makef=
ile
--- ports/games/linux-steam/Makefile=09Tue Mar  1 22:51:33 2005
+++ devel_ports/games/linux-steam/Makefile=09Thu Apr  7 15:49:22 2005
@@ -18,6 +18,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li=
nux-XFree86-libs
 
 IS_INTERACTIVE=3D=09yes
+USE_LINUX=3D=09yes
 PKGMESSAGE=3D=09${WRKDIR}/pkg-message
 
 INSTALLDIR?=3D=09steam
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/q3server/Makefile devel_ports/games/q3server/Makefile
--- ports/games/q3server/Makefile=09Tue Mar  1 22:51:33 2005
+++ devel_ports/games/q3server/Makefile=09Thu Apr  7 15:46:56 2005
@@ -19,7 +19,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_PERL5=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/rt2-demo/Makefile devel_ports/games/rt2-demo/Makefile
--- ports/games/rt2-demo/Makefile=09Tue Mar  1 22:51:33 2005
+++ devel_ports/games/rt2-demo/Makefile=09Thu Apr  7 15:47:03 2005
@@ -19,7 +19,7 @@
 
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 
 do-install:
 =09=09@${SH} ${FILESDIR}/do-install ${PREFIX} ${DISTDIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/rtcw/Makefile devel_ports/games/rtcw/Makefile
--- ports/games/rtcw/Makefile=09Tue Mar  1 22:51:33 2005
+++ devel_ports/games/rtcw/Makefile=09Thu Apr  7 15:47:14 2005
@@ -18,7 +18,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
 NO_WRKSUBDIR=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/rtcw-paks/Makefile devel_ports/games/rtcw-paks/Makefile
--- ports/games/rtcw-paks/Makefile=09Tue Mar  1 22:51:33 2005
+++ devel_ports/games/rtcw-paks/Makefile=09Thu Apr  7 17:02:04 2005
@@ -18,17 +18,17 @@
 MAINTAINER=3D=09nik@FreeBSD.org
 COMMENT=3D=09Return to Castle Wolfenstein for Linux .pk3 files
 
-# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the 
+# Make this a BUILD_DEPENDs too, so that it can create the 
 # directory hierarchy for us.
 BUILD_DEPENDS=3D=09${PREFIX}/usr/games/rtcw/wolf.x86:${PORTSDIR}/games/rtc=
w
+RUN_DEPENDS=3D=09${BUILD_DEPENDS}
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 EXTRACT_ONLY=3D=09# Don't extract anything
-STRIP=3D
 
-GAMEDIR=3D=09${PREFIX}/usr/games/rtcw/
+GAMEDIR=3D=09${PREFIX}/games/rtcw/
 
 .include <bsd.port.pre.mk>
 
@@ -41,6 +41,7 @@
 # Do nothing for the build.  Don't set NO_BUILD because of the earlier 
 # BUILD_DEPENDS
 do-build:
+=09@${DO_NADA}
 
 do-install: 
 =09${MKDIR} -p ${GAMEDIR}/main
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/ssamtse/Makefile devel_ports/games/ssamtse/Makefile
--- ports/games/ssamtse/Makefile=09Tue Mar  1 22:51:34 2005
+++ devel_ports/games/ssamtse/Makefile=09Thu Apr  7 17:13:53 2005
@@ -16,11 +16,10 @@
 MAINTAINER=3D=09asa@gascom.ru
 COMMENT=3D=09Serious Sam - The Second Encounter
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 NO_BUILD=3D=09yes
 USE_BZIP2=3D=09yes
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
 USE_X_PREFIX=3D=09yes
 USE_GL=3D=09=09yes
 INSTALLS_SHLIB=3D=09yes
@@ -59,6 +58,7 @@
 =09@${SED} 's|%SSAMDIR%|${SSAMDIR}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE=
}
 
 do-install:
+# XXX: this is missing "${BRANDELF} -t Linux <executables>"
 =09@${MKDIR} ${SSAMDIR}
 =09@${TAR} --bzip2 -C ${SSAMDIR} -xf \
 =09=09${WRKDIR}/ssam/bins.tar.bz2
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/stvef-paks/Makefile devel_ports/games/stvef-paks/Makefil=
e
--- ports/games/stvef-paks/Makefile=09Tue Mar  1 22:51:34 2005
+++ devel_ports/games/stvef-paks/Makefile=09Thu Apr  7 17:03:42 2005
@@ -17,17 +17,17 @@
 MAINTAINER=3D=09nik@FreeBSD.org
 COMMENT=3D=09Star Trek Voyager: Elite Forces dedicated server for Linux .p=
k3 files
 
-# Make this a BUILD_ rather than a RUN_DEPEND so that it can create the
+# Make this a BUILD_DEPENDS too, so that it can create the
 # directory hierarchy for us.
 BUILD_DEPENDS=3D=09${PREFIX}/usr/games/stvef/linuxstvefded_1.2-static:${PO=
RTSDIR}/games/stvef-server
+RUN_DEPENDS=3D=09${BUILD_DEPENDS}
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 EXTRACT_ONLY=3D=09# Don't extract anything
-STRIP=3D
 
-GAMEDIR=3D=09${PREFIX}/usr/games/stvef/
+GAMEDIR=3D=09${PREFIX}/games/stvef/
 
 .include <bsd.port.pre.mk>
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/stvef-server/Makefile devel_ports/games/stvef-server/Mak=
efile
--- ports/games/stvef-server/Makefile=09Tue Mar  1 22:51:34 2005
+++ devel_ports/games/stvef-server/Makefile=09Thu Apr  7 17:04:59 2005
@@ -17,19 +17,21 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_ZIP=3D=09yes
-USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
-NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/Linux
-STRIP=3D
 
 INSTALL_DIR=3D=09${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
 LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig
 
-GAMEDIR=3D=09${PREFIX}/usr/games/stvef/
+GAMEDIR=3D=09${PREFIX}/games/stvef/
 
 # files which should be installed with executables perms
 EXECUTABLES=3D=09linuxstvefded_1.2-static linuxstvefded_1.2-glibc2.1.3
+
+de-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/linuxstvefded_1.2-static
+=09${BRANDELF} -t Linux ${WRKSRC}/linuxstvefded_1.2-glibc2.1.3
 
 do-install:
 =09${MKDIR} ${GAMEDIR}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/utserver/Makefile devel_ports/games/utserver/Makefile
--- ports/games/utserver/Makefile=09Sun Mar 27 04:16:32 2005
+++ devel_ports/games/utserver/Makefile=09Thu Apr  7 15:47:49 2005
@@ -23,6 +23,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
+USE_LINUX=3D=09yes
 USE_PERL5=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/games/utserver-to/Makefile devel_ports/games/utserver-to/Makef=
ile
--- ports/games/utserver-to/Makefile=09Sat Mar 26 21:12:01 2005
+++ devel_ports/games/utserver-to/Makefile=09Thu Apr  7 17:10:01 2005
@@ -22,13 +22,12 @@
 MAINTAINER?=3D=09pat@FreeBSD.org
 COMMENT?=3D=09Unreal Tournament mod Tactical Ops full server package for L=
inux
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/games/ut-server/System/ucc-bin:${UTSERVE=
R_PORT}
+RUN_DEPENDS=3D=09${LOCALBASE}/games/ut-server/System/ucc-bin:${UTSERVER_PO=
RT}
 
 BROKEN=3D=09=09Unfetchable
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_PERL5=3D=09yes
 NO_CDROM=3D=09"Size; the data set is much too big"
 NO_BUILD=3D=09yes
@@ -43,13 +42,8 @@
 .ifndef(DO_USE_WRKSUBDIR)
 NO_WRKSUBDIR=3D=09yes
 .endif
-.if defined(DO_USE_STRIP) && exists(${LINUXBASE}/usr/bin/strip)
-STRIP=3D=09${LINUXBASE}/usr/bin/strip
-.else
-STRIP=3D
-.endif
 
-UTDIR=3D=09=09usr/games/ut-server/
+UTDIR=3D=09=09games/ut-server/
 PLIST_SUB+=3D=09UTDIR=3D"${UTDIR}"
 INSTALL_DIR=3D=09${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
 
@@ -84,6 +78,7 @@
 # Contributed by <lioux@FreeBSD.org>
 do-install: install-parse-plist install-scripts
 
+# XXX: this is missing a ${BRANDELF} -t Linux <executables>
 install-parse-plist: generate-plist
 =09@${PERL} -e 'open(FHANDLER,"${TMPPLIST}");' \
 =09=09-e 'open(FDIR,">${WRKDIR}/dirs.sh.tmp");' \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/german/citrix_ica/Makefile devel_ports/german/citrix_ica/Makef=
ile
--- ports/german/citrix_ica/Makefile=09Tue Mar  1 22:51:34 2005
+++ devel_ports/german/citrix_ica/Makefile=09Thu Apr  7 15:50:39 2005
@@ -23,6 +23,7 @@
 
 NO_WRKSUBDIR=3D=09Yes
 NO_BUILD=3D       Yes
+USE_LINUX=3D=09yes
 
 CDIR=3D=09${PREFIX}/ICAClient
 BINDIR=3D=09=09${PREFIX}/bin
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/german/staroffice5/Makefile devel_ports/german/staroffice5/Mak=
efile
--- ports/german/staroffice5/Makefile=09Tue Mar  1 22:51:35 2005
+++ devel_ports/german/staroffice5/Makefile=09Thu Apr  7 15:50:52 2005
@@ -25,6 +25,7 @@
 
 NO_LATEST_LINK=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NO_CDROM=3D=09'Sie muessen StarOffice manuell via WWW-Interface herunterla=
den.'
 IS_INTERACTIVE=3D=09yes
 EXTRACT_ONLY=3D=09${DISTNAME}${EXTRACT_SUFX}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/german/staroffice52/Makefile devel_ports/german/staroffice52/M=
akefile
--- ports/german/staroffice52/Makefile=09Tue Mar  1 22:51:35 2005
+++ devel_ports/german/staroffice52/Makefile=09Thu Apr  7 15:51:05 2005
@@ -35,6 +35,7 @@
 
 NO_LATEST_LINK=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NO_CDROM=3D=09'Sie muessen StarOffice manuell via WWW-Interface herunterla=
den.'
 CD_MOUNTPT=3D=09'/cdrom'
 IS_INTERACTIVE=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/german/staroffice70/Makefile devel_ports/german/staroffice70/M=
akefile
--- ports/german/staroffice70/Makefile=09Tue Mar  1 22:51:35 2005
+++ devel_ports/german/staroffice70/Makefile=09Thu Apr  7 15:51:15 2005
@@ -37,6 +37,7 @@
 
 IS_INTERACTIVE=3D=09yes
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 SOVERSION=3D=09${PORTNAME}${PORTVERSION}
 WRKSRC=3D=09=09${WRKDIR}/${SOVERSION}
 TMPDIR=3D=09=09${WRKDIR}/tmp
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-ac3d/Makefile devel_ports/graphics/linux-ac3d/M=
akefile
--- ports/graphics/linux-ac3d/Makefile=09Tue Mar 15 21:40:18 2005
+++ devel_ports/graphics/linux-ac3d/Makefile=09Thu Apr  7 17:16:34 2005
@@ -16,19 +16,20 @@
 MAINTAINER=3D=09ip@doom.homeunix.org
 COMMENT=3D=09Easy to use and powerful 3D graphics modeller (trial version)
 
-.ifdef(INSTALL_DYNLINKED_VERSION)
-LIB_DEPENDS=3D=09${LINUXBASE}/usr/libGLU.so.1:${PORTSDIR}/graphics/linux_m=
esa3
-.endif
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs \
+RUN_DEPENDS=3D=09\
 =09=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg \
 =09=09${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png10 \
 =09=09${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff
+.ifdef(INSTALL_DYNLINKED_VERSION)
+RUN_DEPENDS+=3D=09${LINUXBASE}/usr/libGLU.so.1:${PORTSDIR}/graphics/linux_=
mesa3
+.endif
 
 RESTRICTED=3D=09"no distribution permitted"
 NO_CDROM=3D=09${RESTRICTED}
 
-NO_BUILD=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/${PORTNAME}lx
 
 SUB_FILES=3D=09pkg-message
@@ -44,10 +45,6 @@
 PROGRAM=3D=09${PORTNAME}
 .endif
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
-
 .ifndef(INSTALL_DYNLINKED_VERSION)
 pre-everything::
 =09@${ECHO_MSG} 'Define INSTALL_DYNLINKED_VERSION=3Dyes to install'
@@ -56,6 +53,9 @@
 =09@${ECHO_MSG} 'It may be useful with hardware accellerated MesaGL'
 =09@${ECHO_MSG} ''
 .endif
+
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/${PROGRAM}
 
 pre-install:
 # Generate startup script
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-bmrt/Makefile devel_ports/graphics/linux-bmrt/M=
akefile
--- ports/graphics/linux-bmrt/Makefile=09Tue Mar  1 22:51:35 2005
+++ devel_ports/graphics/linux-bmrt/Makefile=09Thu Apr  7 17:17:47 2005
@@ -21,10 +21,7 @@
 NO_BUILD=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 NO_CDROM=3D=09"See the License"
-
-# Linux binary should not be stripped by INSTALL_PROGRAM as it uses
-# /usr/bin/strip which then brands the binary as a FreeBSD ELF one.
-STRIP=3D
+USE_LINUX=3D=09yes
 
 .include <bsd.port.pre.mk>
 
@@ -69,7 +66,7 @@
 .endfor
 .for i in ${PROGRAM}
 =09${INSTALL_PROGRAM} ${WRKSRC}/bin/${i} ${PREFIX}/bin
-=09/usr/bin/brandelf -t Linux ${PREFIX}/bin/${i}
+=09${BRANDELF} -t Linux ${PREFIX}/bin/${i}
 .endfor
 
 post-install:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-gdk-pixbuf/Makefile devel_ports/graphics/linux-=
gdk-pixbuf/Makefile
--- ports/graphics/linux-gdk-pixbuf/Makefile=09Mon Apr 11 10:02:39 2005
+++ devel_ports/graphics/linux-gdk-pixbuf/Makefile=09Mon Apr 11 14:20:03 20=
05
@@ -24,11 +24,10 @@
 CONFLICTS=3D=09linux-gtk2*
 
 USE_LINUX_PREFIX=3Dyes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 DIST_SUBDIR=3D=09rpm
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 PLIST_SUB=3D=09VERSION=3D${PORTVERSION:C/^([^\.]+\.[^\.]+\.[^\.]+).+/\1/}
 
 # Set the version of Fedora Core
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-libmng/Makefile devel_ports/graphics/linux-libm=
ng/Makefile
--- ports/graphics/linux-libmng/Makefile=09Mon Apr 11 10:02:40 2005
+++ devel_ports/graphics/linux-libmng/Makefile=09Mon Apr 11 14:24:33 2005
@@ -22,13 +22,12 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/l=
inux-jpeg
 
 BASEVERSION=3D=098.0
-USE_LINUX_RPM=3D=09yes
+USE_LINUX=3D=09yes
 USE_LINUX_PREFIX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 
 DIST_SUBDIR=3D=09rpm
-NO_BUILD=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
+NO_BUILD=3D=09yes
 PLIST?=3D=09=09${PKGDIR}/pkg-plist.${ARCH}
 MD5_FILE?=3D=09${MASTERDIR}/distinfo.${ARCH}
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-panorama-tools/Makefile devel_ports/graphics/li=
nux-panorama-tools/Makefile
--- ports/graphics/linux-panorama-tools/Makefile=09Sat Mar 26 21:02:26 2005
+++ devel_ports/graphics/linux-panorama-tools/Makefile=09Thu Apr  7 15:53:2=
8 2005
@@ -29,6 +29,7 @@
 BROKEN=3D=09=09Broken dependency
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 
 WRKSRC=3D=09${WRKDIR}/PTLinux
 PROGRAM=3D=09Helpers/PTStitcher
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux-sdl_image/Makefile devel_ports/graphics/linux-s=
dl_image/Makefile
--- ports/graphics/linux-sdl_image/Makefile=09Mon Apr 11 10:02:42 2005
+++ devel_ports/graphics/linux-sdl_image/Makefile=09Mon Apr 11 14:20:03 200=
5
@@ -21,13 +21,13 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/li=
nux-sdl12
 BUILD_DEPENDS=3D=09rpm:${PORTSDIR}/archivers/rpm
 
+USE_LINUX=3D=09=09yes
 USE_LINUX_PREFIX=3D=09yes
 LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig
 
 ONLY_FOR_ARCHS=3D=09i386
 DIST_SUBDIR=3D=09rpm
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 DBPATH=3D=09=09/var/lib/rpm
 RPMFLAGS=3D=09--ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux_dri/Makefile devel_ports/graphics/linux_dri/Mak=
efile
--- ports/graphics/linux_dri/Makefile=09Tue Mar  1 22:51:36 2005
+++ devel_ports/graphics/linux_dri/Makefile=09Thu Apr  7 17:19:22 2005
@@ -20,19 +20,17 @@
 MAINTAINER=3D=09freebsd-emulation@FreeBSD.org
 COMMENT=3D=09Binary Linux DRI libraries for 3D hardware acceleration of li=
nux apps
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li=
nux-XFree86-libs
-
 WRKSRC=3D=09=09${WRKDIR}/lib
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 USE_LINUX_PREFIX=3D=09yes
+USE_XLIB=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
 
 MODULELIST=3D=09gamma_dri.so i810_dri.so i830_dri.so mga_dri.so r128_dri.s=
o \
 =09=09r200_dri.so radeon_dri.so tdfx_dri.so
 LDCONFIG_LINUX=3D=09${LINUXBASE}/sbin/ldconfig
-NO_FILTER_SHLIBS=3D=09yes
-STRIP=3D
 
 do-install:
 =09${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
@@ -49,7 +47,9 @@
 =09${LN} -sf libglide3-v5.so.0 ${PREFIX}/usr/X11R6/lib/libglide3-v5.so
 =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/libglut.so.3.7.0 ${PREFIX}=
/usr/X11R6/lib
 =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/gears ${PREFIX}/usr/X11R6/=
bin
+=09${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/gears
 =09${INSTALL_PROGRAM} ${WRKDIR}/linux-dri-tools/glxinfo ${PREFIX}/usr/X11R=
6/bin
+=09${BRANDELF} -t Linux ${PREFIX}/usr/X11R6/bin/glxinfo
 
 post-install:
 =09@${LDCONFIG_LINUX} ${PREFIX}/usr/X11R6/lib
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/graphics/linux_glide/Makefile devel_ports/graphics/linux_glide=
/Makefile
--- ports/graphics/linux_glide/Makefile=09Tue Mar  1 22:51:36 2005
+++ devel_ports/graphics/linux_glide/Makefile=09Thu Apr  7 15:52:09 2005
@@ -22,7 +22,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 
 USE_LINUX_PREFIX=3Dyes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_MTREE=3D=09yes
 NO_BUILD=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/Glide2.4
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/japanese/slimeforest/Makefile devel_ports/japanese/slimeforest=
/Makefile
--- ports/japanese/slimeforest/Makefile=09Thu Mar  3 08:59:29 2005
+++ devel_ports/japanese/slimeforest/Makefile=09Thu Apr  7 15:53:59 2005
@@ -18,6 +18,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libSDL_image-1.2.so.0:${PORTSDIR}/gr=
aphics/linux-sdl_image
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 
 WRKSRC=3D=09=09${WRKDIR}/slimeforest
 FIND_DIRS=3D=09=09-type d \! -empty
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-blackdown-jdk12/Makefile devel_ports/java/linux-bla=
ckdown-jdk12/Makefile
--- ports/java/linux-blackdown-jdk12/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-blackdown-jdk12/Makefile=09Thu Apr  7 15:54:21 2=
005
@@ -28,6 +28,7 @@
 ONLY_FOR_ARCHS=3D=09i386 amd64
 
 USE_BZIP2=3D=09YES
+USE_LINUX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/${PORTNAME}${PORTVERSION}
 NO_BUILD=3D=09YES
 APP_HOME?=3D=09${PREFIX}/${PKGBASE}${PORTVERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-blackdown-jdk13/Makefile devel_ports/java/linux-bla=
ckdown-jdk13/Makefile
--- ports/java/linux-blackdown-jdk13/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-blackdown-jdk13/Makefile=09Thu Apr  7 15:54:51 2=
005
@@ -28,6 +28,7 @@
 PLIST_SUB+=3D=09T=3D${APP_HOME:S/^${PREFIX}\///}
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 LATEST_LINK=3D=09linux-blackdown-jdk13
 
 ONLY_FOR_ARCHS=3D=09i386 amd64
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-blackdown-jdk14/Makefile devel_ports/java/linux-bla=
ckdown-jdk14/Makefile
--- ports/java/linux-blackdown-jdk14/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-blackdown-jdk14/Makefile=09Thu Apr  7 15:55:13 2=
005
@@ -25,6 +25,7 @@
 EXTRACT_BEFORE_ARGS=3D=09+564
 EXTRACT_AFTER_ARGS=3D=09| ${BZIP2_CMD} -dc | ${TAR} xf -
 USE_BZIP2=3D=09yes
+USE_LINUX=3D=09yes
 LATEST_LINK=3D=09linux-blackdown-jdk14
 
 WRKSRC=3D=09=09${WRKDIR}/j2sdk${PORTVERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-blackdown-jre11/Makefile devel_ports/java/linux-bla=
ckdown-jre11/Makefile
--- ports/java/linux-blackdown-jre11/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-blackdown-jre11/Makefile=09Thu Apr  7 15:56:42 2=
005
@@ -29,6 +29,7 @@
 ONLY_FOR_ARCHS=3D=09i386 amd64
 
 USE_BZIP2=3D=09YES
+USE_LINUX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/jre118_v3
 JRE_VERSION=3D=091.1.8
 PLIST_SUB+=3D=09JRE_VERSION=3D${JRE_VERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-ibm-jdk13/Makefile devel_ports/java/linux-ibm-jdk13=
/Makefile
--- ports/java/linux-ibm-jdk13/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-ibm-jdk13/Makefile=09Thu Apr  7 17:20:49 2005
@@ -26,6 +26,7 @@
 PLIST_SUB+=3D=09T=3D${APP_HOME:S/^${PREFIX}\///}
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.3.1
 LATEST_LINK=3D=09linux-ibm-jdk13
 ONLY_FOR_ARCHS=3D=09i386 amd64
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-ibm-jdk14/Makefile devel_ports/java/linux-ibm-jdk14=
/Makefile
--- ports/java/linux-ibm-jdk14/Makefile=09Tue Mar  1 22:51:37 2005
+++ devel_ports/java/linux-ibm-jdk14/Makefile=09Thu Apr  7 15:55:52 2005
@@ -28,6 +28,7 @@
 
 NO_BUILD=3D=09yes
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.4.2
 ONLY_FOR_ARCHS=3D=09i386 amd64
 APP_HOME?=3D=09${PREFIX}/${PKGBASE}${PORTVERSION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-sun-jdk12/Makefile devel_ports/java/linux-sun-jdk12=
/Makefile
--- ports/java/linux-sun-jdk12/Makefile=09Tue Mar  1 22:51:38 2005
+++ devel_ports/java/linux-sun-jdk12/Makefile=09Thu Apr  7 15:56:04 2005
@@ -24,6 +24,7 @@
 LATEST_LINK=3D=09linux-sun-jdk12
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.2.2.017
 ONLY_FOR_ARCHS=3D=09i386 amd64
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-sun-jdk13/Makefile devel_ports/java/linux-sun-jdk13=
/Makefile
--- ports/java/linux-sun-jdk13/Makefile=09Tue Mar  1 22:51:38 2005
+++ devel_ports/java/linux-sun-jdk13/Makefile=09Thu Apr  7 15:56:14 2005
@@ -30,6 +30,7 @@
 =09=09JDK_VERSION=3D${JDK_VERSION}
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.3.1
 JDK_REVISION=3D=0914
 ONLY_FOR_ARCHS=3D=09i386 amd64
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-sun-jdk14/Makefile devel_ports/java/linux-sun-jdk14=
/Makefile
--- ports/java/linux-sun-jdk14/Makefile=09Tue Mar  1 22:51:38 2005
+++ devel_ports/java/linux-sun-jdk14/Makefile=09Thu Apr  7 15:56:30 2005
@@ -30,6 +30,7 @@
 PKGINSTALL=3D=09${WRKDIR}/pkg-install
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.4.2
 JDK_REVISION=3D=0907
 DL_JDK_VERSION=3D=09${JDK_VERSION}_${JDK_REVISION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/java/linux-sun-jdk15/Makefile devel_ports/java/linux-sun-jdk15=
/Makefile
--- ports/java/linux-sun-jdk15/Makefile=09Mon Apr  4 21:55:10 2005
+++ devel_ports/java/linux-sun-jdk15/Makefile=09Thu Apr  7 15:56:53 2005
@@ -30,6 +30,7 @@
 PKGINSTALL=3D=09${WRKDIR}/pkg-install
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 JDK_VERSION=3D=091.5.0
 JDK_REVISION=3D=0902
 DL_JDK_VERSION=3D=09${JDK_VERSION}_${JDK_REVISION}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/korean/linux_locale/Makefile devel_ports/korean/linux_locale/M=
akefile
--- ports/korean/linux_locale/Makefile=09Tue Mar  1 22:51:38 2005
+++ devel_ports/korean/linux_locale/Makefile=09Thu Apr  7 17:21:16 2005
@@ -19,13 +19,11 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 
+USE_LINUX=3D=098=09# BUILD_DEPENDS is hardcoded, so we hardcode here too
 USE_LINUX_PREFIX=3Dyes
-USE_LINUX?=3D=09yes
-NO_MTREE=3D=09yes
 NO_BUILD=3D=09yes
 EXTRACT_ONLY=3D=09# empty
 NO_WRKSUBDIR=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 do-install:
 =09@zcat ${DISTDIR}/${DISTNAME}.tar.gz |(cd ${PREFIX}; ${PAX} -r)
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/compaq-cc/Makefile devel_ports/lang/compaq-cc/Makefile
--- ports/lang/compaq-cc/Makefile=09Tue Mar  1 22:51:39 2005
+++ devel_ports/lang/compaq-cc/Makefile=09Thu Apr  7 17:21:30 2005
@@ -40,9 +40,7 @@
 EXTRACT_ONLY=3D
 NO_WRKSUBDIR=3D=09=09yes
 NO_BUILD=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
-NO_MTREE=3D=09=09yes
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=097
 
 .include <bsd.port.pre.mk>
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/freetxl/Makefile devel_ports/lang/freetxl/Makefile
--- ports/lang/freetxl/Makefile=09Tue Mar  1 22:51:39 2005
+++ devel_ports/lang/freetxl/Makefile=09Thu Apr  7 17:27:02 2005
@@ -14,14 +14,18 @@
 MAINTAINER=3D=09ryan@sasknow.com
 COMMENT=3D=09The TXL Programming Language (transformation by example)
 
-USE_LINUX?=3D=09yes
-STRIP=3D
-NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 
 MAN1=3D=09=09txl.1 txlc.1 txldb.1 txlp.1
 
 PORTDOCS=3D=0900README.txt COPYRIGHT.txt Documents.html Examples.html \
 =09=09FILES.txt Learning.html Support.html
+
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/bin/txl \
+                ${WRKSRC}/bin/txlc \
+                ${WRKSRC}/bin/txldb \
+                ${WRKSRC}/bin/txlp
 
 do-install:
 =09${INSTALL_PROGRAM} \
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/icc/Makefile devel_ports/lang/icc/Makefile
--- ports/lang/icc/Makefile=09Sun Mar  6 16:08:25 2005
+++ devel_ports/lang/icc/Makefile=09Thu Apr  7 17:24:41 2005
@@ -18,7 +18,7 @@
 DISTFILES=3D=09${DISTNAME}${EXTRACT_SUFX}
 .if ${PORTVERSION} !=3D ${PATCHLEVEL}
 DISTFILES+=3D=09${DISTNAME}_${PATCHLEVEL}${EXTRACT_SUFX}
-PATCH_DEPENDS=3D=09=09${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators=
/linux_base-8
+PATCH_DEPENDS=3D=09=09${DEFAULT_LINUX_BASE}
 .endif
 
 EXTRACT_DEPENDS=3D=09rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
@@ -30,9 +30,8 @@
 ONLY_FOR_ARCHS=3D=09=09i386
 CONFLICTS=3D=09=09linux_devtools*
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 USE_REINPLACE=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 COMPILERDIR=3D=09intel_cc_80
 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR}
@@ -219,7 +218,8 @@
 =09@${CC} ${CFLAGS} -o \
 =09=09${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld \
 =09=09${FILESDIR}/ld.c
-=09@${STRIP_CMD} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
+# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one=
.
+=09@/usr/bin/strip ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
 =09@${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
 # Make ICC happy with regards to crtbegin.o, crtend.o and libgcc.a which i=
t
 # expects to find in GXX_ROOT.
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/icc7/Makefile devel_ports/lang/icc7/Makefile
--- ports/lang/icc7/Makefile=09Tue Mar  1 22:51:39 2005
+++ devel_ports/lang/icc7/Makefile=09Thu Apr  7 17:28:08 2005
@@ -25,10 +25,9 @@
 ONLY_FOR_ARCHS=3D=09=09i386
 CONFLICTS=3D=09=09linux_devtools* ifc*
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 USE_REINPLACE=3D=09=09yes
 NO_WRKSUBDIR=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 COMPILERDIR=3D=09compiler70
 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR}
@@ -160,7 +159,8 @@
 =09@${CC} ${CFLAGS} -o \
 =09=09${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \
 =09=09${FILESDIR}/ld.c
-=09@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
+# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one=
.
+=09@/usr/bin/strip ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/l=
d
 =09@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
 
 do-install:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/ifc/Makefile devel_ports/lang/ifc/Makefile
--- ports/lang/ifc/Makefile=09Tue Mar  1 22:51:39 2005
+++ devel_ports/lang/ifc/Makefile=09Thu Apr  7 17:25:53 2005
@@ -18,8 +18,7 @@
 DISTFILES=3D=09${DISTNAME}${EXTRACT_SUFX}
 .if ${PORTVERSION} !=3D ${PATCHLEVEL}
 DISTFILES+=3D=09${DISTNAME}_${PATCHLEVEL}${EXTRACT_SUFX}
-#PATCH_DEPENDS=3D=09=09${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulato=
rs/linux_base
-PATCH_DEPENDS=3D=09=09${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators=
/linux_base-8
+PATCH_DEPENDS=3D=09=09${DEFAULT_LINUX_BASE}
 .endif
 
 EXTRACT_DEPENDS=3D=09rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
@@ -31,7 +30,7 @@
 ONLY_FOR_ARCHS=3D=09=09i386
 CONFLICTS=3D=09=09linux_devtools*
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 USE_REINPLACE=3D=09=09yes
 NO_FILTER_SHLIBS=3D=09yes
 
@@ -192,7 +191,8 @@
 =09@${CC} ${CFLAGS} -o \
 =09=09${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld \
 =09=09${FILESDIR}/ld.c
-=09@${STRIP_CMD} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
+# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one=
.
+=09@/usr/bin/strip ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
 =09@${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld
 
 do-install:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/ifc7/Makefile devel_ports/lang/ifc7/Makefile
--- ports/lang/ifc7/Makefile=09Tue Mar  1 22:51:39 2005
+++ devel_ports/lang/ifc7/Makefile=09Thu Apr  7 17:28:52 2005
@@ -24,10 +24,9 @@
 
 ONLY_FOR_ARCHS=3D=09=09i386
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 USE_REINPLACE=3D=09=09yes
 NO_WRKSUBDIR=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 
 COMPILERDIR=3D=09compiler70
 PLIST_SUB=3D=09COMPILERDIR=3D${COMPILERDIR}
@@ -158,7 +157,8 @@
 =09@${CC} ${CFLAGS} -o \
 =09=09${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld \
 =09=09${FILESDIR}/ld.c
-=09@${STRIP_CMD} ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
+# We can't use STRIP_CMD, since we need the FreeBSD one, not the Linux one=
.
+=09@/usr/bin/strip ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/l=
d
 =09@${CHMOD} 755 ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ldwrapper/ld
 
 do-install:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/linux-j/Makefile devel_ports/lang/linux-j/Makefile
--- ports/lang/linux-j/Makefile=09Fri Apr  8 20:50:42 2005
+++ devel_ports/lang/linux-j/Makefile=09Sun Apr 10 15:34:54 2005
@@ -18,7 +18,7 @@
 
 BROKEN=3D=09=09Unfetchable
 
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_JAVA=3D=091.3+
 
 ONLY_FOR_ARCHS=3D i386
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/lang/visualworks/Makefile devel_ports/lang/visualworks/Makefil=
e
--- ports/lang/visualworks/Makefile=09Tue Mar  1 22:51:40 2005
+++ devel_ports/lang/visualworks/Makefile=09Thu Apr  7 15:59:53 2005
@@ -18,7 +18,7 @@
 MAINTAINER=3D=09=09chris@chrisburkert.de
 COMMENT=3D=09=09A high performance Smalltalk environment
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 ONLY_FOR_ARCHS=3D=09=09i386
 NO_BUILD=3D=09=09yes
 PLIST_FILES=3D=09=09bin/visual
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/mail/mulberry/Makefile devel_ports/mail/mulberry/Makefile
--- ports/mail/mulberry/Makefile=09Tue Mar  1 22:51:40 2005
+++ devel_ports/mail/mulberry/Makefile=09Thu Apr  7 16:00:28 2005
@@ -22,6 +22,7 @@
 
 NO_BUILD=3D=09yes
 NO_WRKSUBDIR=3D=09yes
+USE_LINUX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 
 .include <bsd.port.pre.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/math/linux-dislin/Makefile devel_ports/math/linux-dislin/Makef=
ile
--- ports/math/linux-dislin/Makefile=09Mon Apr 11 10:03:18 2005
+++ devel_ports/math/linux-dislin/Makefile=09Mon Apr 11 14:20:07 2005
@@ -17,13 +17,12 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09A scientific data plotting package
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 BROKEN=3D=09=09Unfetchable
 
 ONLY_FOR_ARCHS=3D=09i386 alpha
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 NO_BUILD=3D=09yes
-INSTALLS_SHLIB=3D=09yes
 LDCONFIG_DIRS=3D=09${DISLIN_DIR}/lib
 
 MD5_FILE=3D=09${MASTERDIR}/distinfo.${ARCH}
@@ -38,6 +37,8 @@
 =09    <${FILESDIR}/dislin-wrapper.sh >${WRKDIR}/dislin.sh
 =09${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \
 =09    <${FILESDIR}/pkg-message >${WRKDIR}/pkg-message
+
+# XXX: this is missing "${BRANDELF} -t Linux <executable>"
 
 do-install:
 =09(cd ${WRKSRC} && ${ENV} DISLIN=3D${DISLIN_DIR} ${SH} INSTALL)
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/math/linux-relview/Makefile devel_ports/math/linux-relview/Mak=
efile
--- ports/math/linux-relview/Makefile=09Tue Mar  1 22:51:40 2005
+++ devel_ports/math/linux-relview/Makefile=09Thu Apr  7 17:29:21 2005
@@ -19,6 +19,8 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool=
kits/linux-gtk
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 NO_WRKSUBDIR=3D=09yes
 EXTRACT_AFTER_ARGS=3D=09> ${DISTNAME}
@@ -26,10 +28,6 @@
 NO_BUILD=3D=09yes
 
 PLIST_SUB=3D=09VERSION=3D${PORTVERSION}
-
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D=09# empty
 
 do-install:
 =09${BRANDELF} -t Linux ${WRKDIR}/${DISTNAME}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/math/mupad/Makefile devel_ports/math/mupad/Makefile
--- ports/math/mupad/Makefile=09Sat Mar 19 16:19:58 2005
+++ devel_ports/math/mupad/Makefile=09Thu Apr  7 17:30:49 2005
@@ -20,11 +20,9 @@
 
 NO_CDROM=3D=09"unsure to sell for profit"
 
-USE_LINUX?=3D=09=09yes
+USE_LINUX=3D=09=09yes
 ONLY_FOR_ARCHS=3D=09=09i386
 
-INSTALLS_SHLIB=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 NO_WRKSUBDIR=3D=09=09yes
 
 MAN1=3D=09=09mmg.1 mmgd.1 mupad.1 xmupad.1
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/math/wingz/Makefile devel_ports/math/wingz/Makefile
--- ports/math/wingz/Makefile=09Tue Mar  1 22:51:41 2005
+++ devel_ports/math/wingz/Makefile=09Thu Apr  7 17:31:52 2005
@@ -16,12 +16,13 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09A Commercial Spreadsheet
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 
 NO_WRKSUBDIR=3D=09yes
-USE_X_PREFIX=3D=09yes
+
+# XXX: this is missing "${BRANDELF} -t Linux <executables>"
 
 post-install:
 =09@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/math/wingz3/Makefile devel_ports/math/wingz3/Makefile
--- ports/math/wingz3/Makefile=09Tue Mar  1 22:51:41 2005
+++ devel_ports/math/wingz3/Makefile=09Thu Apr  7 17:32:55 2005
@@ -15,13 +15,12 @@
 MAINTAINER=3D=09mi@aldan.algebra.com
 COMMENT=3D=09A Commercial Spreadsheet
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 NO_PACKAGE=3D=09"nothing to build. commercial software"
 
 ONLY_FOR_ARCHS=3D=09i386
-
+USE_LINUX=3D=09yes
 USE_X_PREFIX=3D=09yes
+
 NO_BUILD=3D=09yes
 
 do-fetch:
@@ -32,6 +31,8 @@
 =09#=09http://www.wingz-us.com/iisg_main/downloads.html
 =09# download the ${DISTFILES} and save it to ${DISTDIR}.
 =09#
+
+# XXX: this is missing "${BRANDELF} -t Linux <executables>"
 
 do-install:
 =09${TAR} -xzp -C ${X11BASE} -f ${DISTDIR}/${DISTFILES}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/misc/ftree/Makefile devel_ports/misc/ftree/Makefile
--- ports/misc/ftree/Makefile=09Tue Mar  1 22:51:41 2005
+++ devel_ports/misc/ftree/Makefile=09Thu Apr  7 17:35:18 2005
@@ -17,23 +17,18 @@
 MAINTAINER=3D=09user@unknown.nu
 COMMENT=3D=09An X11 genealogy program
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
-USE_X_PREFIX=3D=09yes
-
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 NO_CDROM=3D=09Non-commercial use only
 RESTRICTED=3D=09Non-commercial use only
 
 WRKSRC=3D=09=09${WRKDIR}/usr
 MAN1=3D=09=09ftree.1
 
-STRIP=3D=09=09# empty: do not strip linux binary!
-
-do-patch:
-do-configure:
 do-build:
 =09${BRANDELF} -t Linux ${WRKSRC}/bin/ftree
+
 do-install:
 =09${INSTALL_PROGRAM} ${WRKSRC}/bin/ftree ${PREFIX}/bin
 =09${INSTALL_MAN} ${WRKSRC}/share/man/man1/ftree.1 ${PREFIX}/man/man1
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/misc/linux-edonkey-tool-list/Makefile devel_ports/misc/linux-e=
donkey-tool-list/Makefile
--- ports/misc/linux-edonkey-tool-list/Makefile=09Sun Mar 13 02:18:38 2005
+++ devel_ports/misc/linux-edonkey-tool-list/Makefile=09Thu Apr  7 17:35:40=
 2005
@@ -20,19 +20,10 @@
 COMMENT=3D=09Creates a web page with ed2k:// links to all your shared file=
s
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
 PLIST_FILES=3D=09bin/edonkey-tool-list
-STRIP=3D
-
-STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
-
-.if exists(/usr/bin/brandelf)
-BRANDELF?=3D=09/usr/bin/brandelf
-.else
-BRANDELF?=3D=09brandelf
-.endif
 
 BINARY_NAME=3D=09${PORTNAME}${PKGNAMESUFFIX}
 
@@ -45,9 +36,7 @@
 .include <bsd.port.pre.mk>
 
 pre-install:
-.if exists(${STRIP_CMD})
 =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
-.endif
 =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
 
 .include <bsd.port.post.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/misc/linux-edonkey-tool-recovermet/Makefile devel_ports/misc/l=
inux-edonkey-tool-recovermet/Makefile
--- ports/misc/linux-edonkey-tool-recovermet/Makefile=09Sun Mar 13 02:18:38=
 2005
+++ devel_ports/misc/linux-edonkey-tool-recovermet/Makefile=09Thu Apr  7 17=
:35:55 2005
@@ -20,19 +20,10 @@
 COMMENT=3D=09Tool that tries to re-create x.part.met files compromised due=
 to crash
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
 PLIST_FILES=3D=09bin/edonkey-tool-recovermet
-STRIP=3D
-
-STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
-
-.if exists(/usr/bin/brandelf)
-BRANDELF?=3D=09/usr/bin/brandelf
-.else
-BRANDELF?=3D=09brandelf
-.endif
 
 BINARY_NAME=3D=09${PORTNAME}${PKGNAMESUFFIX}
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/misc/linux-opengroupware/Makefile devel_ports/misc/linux-openg=
roupware/Makefile
--- ports/misc/linux-opengroupware/Makefile=09Mon Apr 11 10:03:23 2005
+++ devel_ports/misc/linux-opengroupware/Makefile=09Mon Apr 11 14:20:07 200=
5
@@ -22,7 +22,7 @@
 COMMENT=3D=09Groupware package including mail, calendar, palm sync and muc=
h more
 
 EXTRACT_DEPENDS=3D=09rpm2cpio:${PORTSDIR}/archivers/rpm
-INSTALL_DEPENDS=3D=09${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 \
+RUN_DEPENDS=3D=09${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 \
 =09=09${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql7 \
 =09=09${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2 \
 =09=09${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake
@@ -105,7 +105,7 @@
 
 NGOBJWEB_ADAPTOR=3D opengroupware.org-mod_ngobjweb-200407092000.tar.gz
 PATCHDIR?=3D=09${MASTERDIR}/files
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_GMAKE=3D=09yes
 MAKEFILE=3D=09${WRKSRC}/opengroupware.org-mod_ngobjweb/GNUmakefile
 BUILD_WRKSRC?=3D=09${WRKSRC}/opengroupware.org-mod_ngobjweb
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/misc/opencyc/Makefile devel_ports/misc/opencyc/Makefile
--- ports/misc/opencyc/Makefile=09Tue Mar  1 22:51:42 2005
+++ devel_ports/misc/opencyc/Makefile=09Thu Apr  7 16:02:37 2005
@@ -19,6 +19,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 
 PLIST_SUB=3D=09PORTVERSION=3D"${PORTVERSION}"
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/linux-divx4linux/Makefile devel_ports/multimedia/li=
nux-divx4linux/Makefile
--- ports/multimedia/linux-divx4linux/Makefile=09Tue Mar  1 22:51:42 2005
+++ devel_ports/multimedia/linux-divx4linux/Makefile=09Thu Apr  7 16:03:24 =
2005
@@ -21,7 +21,7 @@
 ONLY_FOR_ARCHS=3D=09i386
 USE_REINPLACE=3D=09yes
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 WRKSRC=3D=09${WRKDIR}/${PORTNAME}-${RELEASE_DATE}
 NO_BUILD=3D=09yes
 PLIST_SUB=3D=09PKGNAME=3D"${PKGNAME}"
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/linux-divx4linux4/Makefile devel_ports/multimedia/l=
inux-divx4linux4/Makefile
--- ports/multimedia/linux-divx4linux4/Makefile=09Tue Mar  1 22:51:42 2005
+++ devel_ports/multimedia/linux-divx4linux4/Makefile=09Thu Apr  7 16:03:30=
 2005
@@ -21,7 +21,7 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 USE_REINPLACE=3D=09yes
 WRKSRC=3D=09${WRKDIR}/${DISTNAME:C/_.+$//}
 NO_BUILD=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/linux-realplayer/Makefile devel_ports/multimedia/li=
nux-realplayer/Makefile
--- ports/multimedia/linux-realplayer/Makefile=09Sun Mar 20 23:18:14 2005
+++ devel_ports/multimedia/linux-realplayer/Makefile=09Thu Apr  7 17:37:03 =
2005
@@ -21,12 +21,9 @@
 
 WRKSRC=3D=09=09${WRKDIR}/usr/local/RealPlayer
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 RESTRICTED=3D=09"Redistribution not allowed"
 NO_BUILD=3D=09yes
-
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
 
 RADIR=3D=09=09${PREFIX}/lib/RealPlayer
 PLUGINSDIR=3D=09${PREFIX}/lib/linux-mozilla/plugins
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/linux-xmovie/Makefile devel_ports/multimedia/linux-=
xmovie/Makefile
--- ports/multimedia/linux-xmovie/Makefile=09Tue Mar  1 22:51:43 2005
+++ devel_ports/multimedia/linux-xmovie/Makefile=09Thu Apr  7 17:37:25 2005
@@ -19,22 +19,16 @@
 COMMENT=3D=09A movie player for AVI, MPEG-2/4 and MOV movies
 
 EXTRACT_DEPENDS=3Drpm2cpio:${PORTSDIR}/archivers/rpm
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 EXTRACT_CMD=3D=09rpm2cpio
 EXTRACT_BEFORE_ARGS=3D
 EXTRACT_AFTER_ARGS=3D | ${CPIO} -id --quiet
 NO_BUILD=3D=09yes
 PLIST_FILES=3D=09bin/xmovie
-USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/usr/bin
-
-BRANDELF?=3D=09/usr/bin/brandelf
-
-# Linux binary should not be stripped by INSTALL_PROGRAM as it uses
-# /usr/bin/strip which then brands the binary as a FreeBSD ELF one.
-STRIP=3D
 
 pre-install:
 =09@${BRANDELF} -t Linux ${WRKSRC}/${PORTNAME}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/mtv/Makefile devel_ports/multimedia/mtv/Makefile
--- ports/multimedia/mtv/Makefile=09Tue Mar  1 22:51:43 2005
+++ devel_ports/multimedia/mtv/Makefile=09Thu Apr  7 17:39:04 2005
@@ -15,18 +15,19 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09High-performance MPEG video player (shareware)
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li=
nux-XFree86-libs
-
 EXTRACT_ONLY=3D=09${PORTNAME}-${PORTVERSION}.tar.gz
 NO_PACKAGE=3D=09"No redistribution"
 NO_CDROM=3D=09"No redistribution"
-NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/mtv
 
 MAN1=3D=09mtv.1
 
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/mtv ${WRKSRC}/mtvp
+
 do-install:
 =09@${MKDIR} ${WRKDIR}/libSDLx11
 =09@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/libSDLx11.so.tar.gz \
@@ -34,8 +35,8 @@
 =09${INSTALL_DATA} ${WRKDIR}/libSDLx11/libSDLx11.so.0.9.9 \
 =09=09${LINUXBASE}/usr/X11R6/lib
 =09${LINUXBASE}/sbin/ldconfig
-=09${INSTALL_SCRIPT} ${WRKSRC}/mtv ${PREFIX}/bin
-=09${INSTALL_SCRIPT} ${WRKSRC}/mtvp ${PREFIX}/bin
+=09${INSTALL_PROGRAM} ${WRKSRC}/mtv ${PREFIX}/bin
+=09${INSTALL_PROGRAM} ${WRKSRC}/mtvp ${PREFIX}/bin
 =09${INSTALL_MAN} ${WRKSRC}/mtv.1 ${PREFIX}/man/man1
 .if !defined(NOPORTDOCS)
 =09@${MKDIR} ${PREFIX}/share/doc/mtv
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/multimedia/netshow/Makefile devel_ports/multimedia/netshow/Mak=
efile
--- ports/multimedia/netshow/Makefile=09Thu Mar 17 17:42:30 2005
+++ devel_ports/multimedia/netshow/Makefile=09Thu Apr  7 17:39:48 2005
@@ -16,16 +16,13 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Microsoft NetShow video stream player
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 RESTRICTED=3D=09"Commercial software"
 BROKEN=3D=09=09Unfetchable
 
 ONLY_FOR_ARCHS=3D=09i386
-PLIST_FILES=3D=09bin/netshow
-
-NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 USE_X_PREFIX=3D=09yes
+PLIST_FILES=3D=09bin/netshow
 
 pre-extract:
 =09@${MKDIR} ${WRKDIR}
@@ -33,8 +30,8 @@
 do-extract:
 =09${GUNZIP_CMD} < ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/netsh=
ow
 
-do-patch:
-=09brandelf -t Linux ${WRKDIR}/netshow
+do-build:
+=09${BRANDELF} -t Linux ${WRKDIR}/netshow
 
 do-install:
 =09${INSTALL} -c -o bin -g bin -m 555 ${WRKDIR}/netshow ${PREFIX}/bin/nets=
how
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/aim/Makefile devel_ports/net/aim/Makefile
--- ports/net/aim/Makefile=09Tue Mar  1 22:51:43 2005
+++ devel_ports/net/aim/Makefile=09Thu Apr  7 17:41:08 2005
@@ -19,15 +19,14 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool=
kits/linux-gtk
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
-PREFIX?=3D=09${X11BASE}
-INSTALLS_SHLIB=3D=09yes
-# must not strip
-STRIP=3D
 
 do-install:
 =09${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec
+=09${BRANDELF} -t Linux ${PREFIX}/libexec
 =09(cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${P=
REFIX}/lib;exec ${TAR} -xpf -)
 =09@${ECHO_CMD} "#!/bin/sh" >${PREFIX}/bin/aim
 =09@${ECHO_CMD} "ulimit -Sc 0" >>${PREFIX}/bin/aim
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/citrix_ica/Makefile devel_ports/net/citrix_ica/Makefile
--- ports/net/citrix_ica/Makefile=09Tue Mar  1 22:51:43 2005
+++ devel_ports/net/citrix_ica/Makefile=09Thu Apr  7 16:05:20 2005
@@ -18,6 +18,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXaw.so.6:${PORTSDIR}/x11/li=
nux-XFree86-libs
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 RESTRICTED=3D=09"License prohibits redistribution"
 IS_INTERACTIVE=3D=09"Noisy license agreement ignores stdin"
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-agsatellite/Makefile devel_ports/net/linux-agsatelli=
te/Makefile
--- ports/net/linux-agsatellite/Makefile=09Thu Mar 10 23:10:02 2005
+++ devel_ports/net/linux-agsatellite/Makefile=09Thu Apr  7 17:41:32 2005
@@ -16,18 +16,15 @@
 MAINTAINER=3D=09ports@FreeBSD.org
 COMMENT=3D=09Client that allows you to share your music on Audiogalaxy(TM)
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
-
 WRKSRC=3D=09${WRKDIR}/${DISTNAME:C/-.*//}
 
 NO_BUILD=3D=09yes
 USE_REINPLACE=3D=09yes
-STRIP=3D
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 RESTRICTED=3D=09no response from developer on licensing issues
 
 DOCS=3D=09german_readme.txt license.txt readme.txt
-
-BRANDELF=3D=09/usr/bin/brandelf
 
 post-patch:
 =09@${REINPLACE_CMD} -e "s|=0D||;s|email|username|" ${WRKSRC}/*.txt
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-edonkey-core/Makefile devel_ports/net/linux-edonkey-=
core/Makefile
--- ports/net/linux-edonkey-core/Makefile=09Sun Mar 13 02:21:03 2005
+++ devel_ports/net/linux-edonkey-core/Makefile=09Thu Apr  7 17:41:53 2005
@@ -19,18 +19,9 @@
 COMMENT=3D=09eDonkey2000 'core' command line client
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
-STRIP=3D
-
-STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
-
-.if exists(/usr/bin/brandelf)
-BRANDELF?=3D=09/usr/bin/brandelf
-.else
-BRANDELF?=3D=09brandelf
-.endif
 
 BINARY_NAME_OLD?=3D=09donkey${PORTVERSION}
 BINARY_NAME=3D=09donkey
@@ -51,9 +42,7 @@
 .include <bsd.port.pre.mk>
 
 pre-install:
-.if exists(${STRIP_CMD})
 =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME_OLD}
-.endif
 =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME_OLD}
 
 .include <bsd.port.post.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-edonkey-server/Makefile devel_ports/net/linux-edonke=
y-server/Makefile
--- ports/net/linux-edonkey-server/Makefile=09Mon Apr  4 01:23:03 2005
+++ devel_ports/net/linux-edonkey-server/Makefile=09Thu Apr  7 17:42:39 200=
5
@@ -20,21 +20,12 @@
 COMMENT=3D=09A decentralized peer-to-peer file-sharing server (eDonkey2000=
 server)
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 NO_BUILD=3D=09yes
-STRIP=3D
 #
 PKGDEINSTALL=3D   ${PKGINSTALL}
 
-STRIP_CMD=3D=09${LINUXBASE}/usr/bin/strip
-
-.if exists(/usr/bin/brandelf)
-BRANDELF?=3D=09/usr/bin/brandelf
-.else
-BRANDELF?=3D=09brandelf
-.endif
-
 BINARY_NAME=3D=09dserver
 RC_SAMPLE=3D=09edonkey2000-server.sh.sample
 
@@ -57,9 +48,7 @@
 .include <bsd.port.pre.mk>
 
 pre-install:
-.if exists(${STRIP_CMD})
 =09@${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
-.endif
 =09@${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
 
 .include <bsd.port.post.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-jigdo/Makefile devel_ports/net/linux-jigdo/Makefile
--- ports/net/linux-jigdo/Makefile=09Tue Mar  1 22:51:44 2005
+++ devel_ports/net/linux-jigdo/Makefile=09Thu Apr  7 17:43:04 2005
@@ -21,9 +21,8 @@
 
 ONLY_FOR_ARCHS=3D=09i386
 USE_BZIP2=3D=09YES
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
-STRIP=3D
 
 PROGRAMS=3D=09jigdo-file
 SCRIPTS=3D=09jigdo-lite jigdo-mirror
@@ -31,7 +30,7 @@
 MAN1=3D=09=09jigdo-file.1 jigdo-lite.1 jigdo-mirror.1
 
 pre-install:
-=09@brandelf -t Linux ${WRKSRC}/jigdo-file
+=09@${BRANDELF} -t Linux ${WRKSRC}/jigdo-file
 
 do-install:
 .for i in ${PROGRAMS}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-nx-client/Makefile devel_ports/net/linux-nx-client/M=
akefile
--- ports/net/linux-nx-client/Makefile=09Tue Mar  1 22:51:44 2005
+++ devel_ports/net/linux-nx-client/Makefile=09Thu Apr  7 17:45:23 2005
@@ -17,18 +17,15 @@
 RUN_DEPENDS=3D=09=09${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphic=
s/linux-jpeg
 
 NO_WRKSUBDIR=3D=09=09yes
-USE_X_PREFIX=3D=09=09yes
 ONLY_FOR_ARCHS=3D=09=09i386
+USE_LINUX=3D=09=09yes
+USE_X_PREFIX=3D=09=09yes
 NO_BUILD=3D=09=09yes
 
 NXSRC=3D=09=09=09${WRKSRC}/NX
 NXDST=3D=09=09=09${PREFIX}/lib/linux-nx-client
 ICONS3232=3D=09=09nx.png nxclient-admin.png nxclient-wizard.png
 
-# Linux binary should not be stripped by INSTALL_PROGRAM
-# because as a side effect it brands the binary as FreeBSD.
-STRIP=3D
-
 PLIST_SUB+=3D=09=09PORTVERSION=3D${PORTVERSION}
 
 post-extract:
@@ -67,6 +64,7 @@
 =09${ECHO_CMD} "export NXDIR=3D${NXDST}" >> ${WRKSRC}/${f}
 =09${ECHO_CMD} "exec \$$NXDIR/bin/${f} \"\$$@\"" >> ${WRKSRC}/${f}
 =09${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+=09${BRANDELF} -t Linux ${NXDST}/bin/${f}
 .endfor
 
 .include <bsd.port.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/linux-overnet-core/Makefile devel_ports/net/linux-overnet-=
core/Makefile
--- ports/net/linux-overnet-core/Makefile=09Tue Mar  1 22:51:45 2005
+++ devel_ports/net/linux-overnet-core/Makefile=09Thu Apr  7 17:45:36 2005
@@ -18,10 +18,9 @@
 COMMENT=3D=09Overnet 'core' command line client
 
 ONLY_FOR_ARCHS=3D=09i386
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_BUILD=3D=09yes
 NO_WRKSUBDIR=3D=09yes
-STRIP=3D
 
 BINARY_NAME_OLD?=3D=09${PORTNAME}clc
 TARGET_DIR=3D=09${PORTNAME}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/peercast/Makefile devel_ports/net/peercast/Makefile
--- ports/net/peercast/Makefile=09Tue Mar  1 22:51:45 2005
+++ devel_ports/net/peercast/Makefile=09Thu Apr  7 16:07:45 2005
@@ -15,7 +15,7 @@
 MAINTAINER=3D=09jylefort@brutele.be
 COMMENT=3D=09A peer-to-peer network for broadcasting and listening to stre=
ams
 
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
 
 do-build:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/net/skype/Makefile devel_ports/net/skype/Makefile
--- ports/net/skype/Makefile=09Sun Mar  6 14:33:41 2005
+++ devel_ports/net/skype/Makefile=09Thu Apr  7 17:43:27 2005
@@ -16,11 +16,11 @@
 COMMENT=3D=09P2P VoIP software
 
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-f=
onts/linux-fontconfig \
-=09=09${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat =
\
-=09=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFr=
ee86-libs
+=09=09${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
 
 USE_BZIP2=3D=09yes
-PREFIX?=3D=09${X11BASE}
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WANT_GNOME=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/portuguese/staroffice52/Makefile devel_ports/portuguese/starof=
fice52/Makefile
--- ports/portuguese/staroffice52/Makefile=09Tue Mar  1 22:51:45 2005
+++ devel_ports/portuguese/staroffice52/Makefile=09Thu Apr  7 16:07:57 2005
@@ -31,6 +31,7 @@
 FETCH_DEPENDS=3D=09${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_=
base-8
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 NO_CDROM=3D=09'Deve ser obtido diretamente do site da Sun via interface ww=
w'
 CD_MOUNTPT=3D=09'/cdrom'
 IS_INTERACTIVE=3D=09yes
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/print/acroread/Makefile devel_ports/print/acroread/Makefile
--- ports/print/acroread/Makefile=09Sun Mar 20 09:33:43 2005
+++ devel_ports/print/acroread/Makefile=09Thu Apr  7 17:46:45 2005
@@ -20,15 +20,14 @@
 MAINTAINER=3D=09trevor@FreeBSD.org
 COMMENT=3D=09View, distribute and print PDF documents
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/li=
nux-XFree86-libs
-
 CONFLICTS=3D=09acroread7
 
 ONLY_FOR_ARCHS=3D=09amd64 i386
 USE_REINPLACE=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 NO_BUILD=3D=09yes
 REINPLACE_ARGS=3D=09-i '' -E
-NO_FILTER_SHLIBS=3D=09yes
 
 PLIST_SUB=3D=09"ARCHDIR=3Dintellinux"
 WRKSRC=3D=09=09${WRKDIR}/installers
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/print/bjfiltercom/Makefile devel_ports/print/bjfiltercom/Makef=
ile
--- ports/print/bjfiltercom/Makefile=09Tue Mar  1 22:51:45 2005
+++ devel_ports/print/bjfiltercom/Makefile=09Thu Apr  7 17:49:24 2005
@@ -43,7 +43,7 @@
 DESCR=3D=09=09${.CURDIR}/pkg-descr
 MD5_FILE=3D=09${.CURDIR}/distinfo
 ONLY_FOR_ARCHS=3D=09i386
-NO_FILTER_SHLIBS=3D=09yes
+USE_LINUX=3D=09yes
 NO_MTREE=3D=09yes
 RPMREVISION=3D=091
 .if defined(SLAVE_PORT)
@@ -75,6 +75,8 @@
 =09=09-e 's,%%PRMODEL%%,${PRMODEL},g' \
 =09=09-e 's,%%PREFIX%%,${PREFIX},g' \
 =09=09=09${FILESDIR}/setup > ${WRKDIR}/setup.freebsd
+
+# XXX: this is missing "${BRANDELF} -t Linux <executables>"
 
 do-install:
 =09${MKDIR} ${LINUXBASE}/usr/lib/bjlib
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/sysutils/linux-acu/Makefile devel_ports/sysutils/linux-acu/Mak=
efile
--- ports/sysutils/linux-acu/Makefile=09Tue Mar  1 22:51:46 2005
+++ devel_ports/sysutils/linux-acu/Makefile=09Thu Apr  7 17:50:42 2005
@@ -30,9 +30,9 @@
 .endif
 
 ONLY_FOR_ARCHS=3D=09i386
-PREFIX?=3D=09${X11BASE}
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 NO_WRKSUBDIR=3D=09yes
-NO_BUILD=3D=09yes
 NO_CDROM=3D=09"Redistribution not allowed"
 
 LINPROCFS!=3D=09/sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
@@ -54,6 +54,9 @@
 =09@${ECHO} "becauce acu needs to read ${LINUXBASE}/proc/aironet"
 =09@${FALSE}
 .endif
+
+do-build:
+=09@${BRANDELF} -t Linux ${WRKSRC}/utilities/acu
 
 do-install:
 =09@${MKDIR} ${PREFIX}/bin
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/sysutils/linux-afaapps/Makefile devel_ports/sysutils/linux-afa=
apps/Makefile
--- ports/sysutils/linux-afaapps/Makefile=09Mon Apr 11 10:04:03 2005
+++ devel_ports/sysutils/linux-afaapps/Makefile=09Mon Apr 11 14:25:11 2005
@@ -26,12 +26,11 @@
 NO_BUILD=3D=09=09yes
 NO_WRKSUBDIR=3D=09=09yes
 
-USE_LINUX_PREFIX=3D=09yes
-NO_MTREE=3D=09=09yes
+USE_LINUX=3D=09=09yes
+USE_LINUX_PREFIX=3D       yes
 LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig
 
 ONLY_FOR_ARCHS=3D=09=09i386
-NO_FILTER_SHLIBS=3D=09yes
 PLIST=3D=09=09=09${MASTERDIR}/pkg-plist.${ARCH}
 MD5_FILE=3D=09=09${MASTERDIR}/distinfo.${ARCH}
 
@@ -43,8 +42,9 @@
 
 do-install:
 =09@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${WRKDIR}/${RPMFILE}
-=09@${RM} ${LINUXBASE}/usr/sbin/afacli
-=09@${MV} ${LINUXBASE}/usr/sbin/afacli.bin ${LINUXBASE}/usr/sbin/afacli
+=09@${RM} ${PREFIX}/usr/sbin/afacli
+=09@${MV} ${PREFIX}/usr/sbin/afacli.bin ${PREFIX}/usr/sbin/afacli
+=09@${BRANDELF} -t Linux ${PREFIX}/usr/sbin/afacli
 =09@${LDCONFIG_LINUX}
 
 .include <bsd.port.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/textproc/linux-aspell/Makefile devel_ports/textproc/linux-aspe=
ll/Makefile
--- ports/textproc/linux-aspell/Makefile=09Tue Mar  1 22:51:46 2005
+++ devel_ports/textproc/linux-aspell/Makefile=09Thu Apr  7 17:52:30 2005
@@ -27,10 +27,9 @@
 NO_BUILD=3D=09=09yes
 USE_REINPLACE=3D=09=09yes
 ONLY_FOR_ARCHS=3D=09=09i386
+USE_LINUX=3D=09=09yes
 USE_LINUX_PREFIX=3D=09yes
-USE_LINUX?=3D=09=09yes
 USE_GMAKE=3D=09=09yes
-NO_FILTER_SHLIBS=3D=09yes
 LDCONFIG_LINUX=3D=09=09${LINUXBASE}/sbin/ldconfig
 
 DBPATH=3D=09=09/var/lib/rpm
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/textproc/pocketreader/Makefile devel_ports/textproc/pocketread=
er/Makefile
--- ports/textproc/pocketreader/Makefile=09Tue Mar  1 22:51:46 2005
+++ devel_ports/textproc/pocketreader/Makefile=09Thu Apr  7 16:10:46 2005
@@ -16,14 +16,14 @@
 MAINTAINER=3D=09simond@irrelevant.org
 COMMENT=3D=09Siemens PocketReader
 
-USE_LINUX?=3D=09YES
+USE_LINUX=3D=09YES
 NO_BUILD=3D=09YES
 PLIST_FILES=3D=09bin/pocketreader
 
 WRKSRC=3D=09=09${WRKDIR}/linux
 
 do-install:
-=09brandelf -t Linux ${WRKSRC}/installfiles/pocketreader_static
+=09${BRANDELF} -t Linux ${WRKSRC}/installfiles/pocketreader_static
 =09${CP} ${WRKSRC}/installfiles/pocketreader_static ${PREFIX}/bin/pocketre=
ader
 
 .include <bsd.port.mk>
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/aswedit/Makefile devel_ports/www/aswedit/Makefile
--- ports/www/aswedit/Makefile=09Tue Mar  1 22:51:46 2005
+++ devel_ports/www/aswedit/Makefile=09Thu Apr  7 16:11:14 2005
@@ -21,6 +21,7 @@
 NO_BUILD=3D=09yes
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 
 WRKSRC=3D=09=09${WRKDIR}/asWedit-4.0.1
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-beonex/Makefile devel_ports/www/linux-beonex/Makefil=
e
--- ports/www/linux-beonex/Makefile=09Tue Mar  1 22:51:46 2005
+++ devel_ports/www/linux-beonex/Makefile=09Thu Apr  7 17:55:56 2005
@@ -26,14 +26,13 @@
 =09${LINUXBASE}/usr/lib/libpng.so.2.1.0.16:${PORTSDIR}/graphics/linux-png1=
0 \
 =09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
 
-NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 PATCHFILES=3D=09linux-beonex-generated-files-${PORTVERSION}.tar.bz2
 PKGMESSAGE=3D=09${WRKDIR}/pkg-message
 PLIST=3D=09=09${WRKDIR}/pkg-plist
 USE_BZIP2=3D=09yes
-PREFIX?=3D=09${X11BASE}
 WRKSRC=3D=09=09${WRKDIR}/beonex-comm
 
 post-extract:
@@ -55,6 +54,9 @@
 =09=09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \
 =09=09=09>>${WRKDIR}/linkfarm
 .endfor
+
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/lib/linux-beonex/beonex-comm
 
 pre-install:
 =09${ECHO_CMD} bin/linux-beonex > ${PLIST}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-firefox/Makefile devel_ports/www/linux-firefox/Makef=
ile
--- ports/www/linux-firefox/Makefile=09Fri Mar 11 11:12:08 2005
+++ devel_ports/www/linux-firefox/Makefile=09Thu Apr  7 18:01:46 2005
@@ -17,16 +17,13 @@
 COMMENT=3D       Web browser branched from Mozilla
 
 RUN_DEPENDS?=3D  \
-${LINUXBASE}/usr/lib/libstdc++.so.5:${PORTSDIR}/emulators/linux_base-8 \
 ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gt=
k2 \
 ${LINUXBASE}/usr/lib/libatk-1.0.so.0:${PORTSDIR}/accessibility/linux-atk \
 ${LINUXBASE}/usr/lib/libpangoxft-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-p=
ango\
 ${LINUXBASE}/usr/lib/libgobject-2.0.so.0:${PORTSDIR}/devel/linux-glib2 \
-${LINUXBASE}${X11BASE}/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs =
\
 ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontco=
nfig
 
 NO_BUILD=3D      yes
-NO_FILTER_SHLIBS=3Dyes
 ONLY_FOR_ARCHS=3Di386
 FIREFOX_NAME=3D  ${PKGNAMEPREFIX}${PORTNAME}
 DESCR=3D         ${.CURDIR}/pkg-descr
@@ -34,7 +31,6 @@
 PKGMESSAGE=3D    ${WRKDIR}/pkg-message
 PLIST=3D         ${WRKDIR}/pkg-plist
 USE_LINUX=3D     yes
-USE_XLIB=3D      yes
 USE_X_PREFIX=3D  yes
 WRKSRC=3D        ${WRKDIR}/firefox
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-flashplugin/Makefile devel_ports/www/linux-flashplug=
in/Makefile
--- ports/www/linux-flashplugin/Makefile=09Tue Mar  1 22:51:47 2005
+++ devel_ports/www/linux-flashplugin/Makefile=09Thu Apr  7 16:11:51 2005
@@ -24,6 +24,7 @@
 RESTRICTED=3D=09"Redistribution not allowed"
 
 NO_BUILD=3D=09yes
+USE_LINUX=3D=09yes
 WRKSRC=3D=09=09${WRKDIR}/flash_linux
 LATEST_LINK=3D=09flash5
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-flashplugin6/Makefile devel_ports/www/linux-flashplu=
gin6/Makefile
--- ports/www/linux-flashplugin6/Makefile=09Tue Mar  1 22:51:47 2005
+++ devel_ports/www/linux-flashplugin6/Makefile=09Thu Apr  7 16:12:08 2005
@@ -20,6 +20,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 
 RESTRICTED=3D=09"Redistribution not allowed"
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-flashplugin7/Makefile devel_ports/www/linux-flashplu=
gin7/Makefile
--- ports/www/linux-flashplugin7/Makefile=09Tue Mar  1 22:51:47 2005
+++ devel_ports/www/linux-flashplugin7/Makefile=09Thu Apr  7 16:13:12 2005
@@ -20,6 +20,7 @@
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs
 
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
 
 RESTRICTED=3D=09"Redistribution not allowed"
 
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-mozilla/Makefile devel_ports/www/linux-mozilla/Makef=
ile
--- ports/www/linux-mozilla/Makefile=09Tue Mar  1 22:51:47 2005
+++ devel_ports/www/linux-mozilla/Makefile=09Thu Apr  7 17:59:32 2005
@@ -20,11 +20,10 @@
 
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool=
kits/linux-gtk
 
-NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
-PREFIX?=3D=09${X11BASE}
 USE_ZIP=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09${WRKDIR}/xpi
 INSTALL_DIR=3D=09${PREFIX}/lib/linux-mozilla
 PKGMESSAGE=3D=09${WRKDIR}/pkg-message
@@ -87,6 +86,9 @@
 =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null" \
 =09=09>> ${WRKDIR}/linkfarm
 .endfor
+
+do-build:
+=09${BRANDELF} -t Linux ${WRKSRC}/bin/mozilla
 
 pre-install:
 =09${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-mozilla-devel/Makefile devel_ports/www/linux-mozilla=
-devel/Makefile
--- ports/www/linux-mozilla-devel/Makefile=09Tue Mar  1 22:51:47 2005
+++ devel_ports/www/linux-mozilla-devel/Makefile=09Thu Apr  7 17:59:58 2005
@@ -22,11 +22,10 @@
 
 RUN_DEPENDS=3D=09${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-tool=
kits/linux-gtk
 
-NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
-PREFIX?=3D=09${X11BASE}
 USE_ZIP=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 WRKSRC=3D=09${WRKDIR}/xpi
 INSTALL_DIR=3D=09linux-mozilla-devel
 FULL_INSTALL_DIR=3D=09${PREFIX}/lib/linux-mozilla-devel
@@ -87,6 +86,9 @@
 =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null"=09>>${WRKDI=
R}/linkfarm
 =09${ECHO_CMD} -n "${FIND} ../../linux-beonex/plugins"=09>>${WRKDIR}/linkf=
arm
 =09${ECHO_CMD} " -maxdepth 1 -exec ${LN} -s {} \; 2>/dev/null"=09>>${WRKDI=
R}/linkfarm
+
+do-build:
+=09${BRANDELF} -t ${WRKSRC}/bin/mozilla
 
 pre-install:
 =09${ECHO_CMD} bin/${STARTUP_CMD} > ${PLIST}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-mozillafirebird/Makefile devel_ports/www/linux-mozil=
lafirebird/Makefile
--- ports/www/linux-mozillafirebird/Makefile=09Sat Mar 26 20:37:32 2005
+++ devel_ports/www/linux-mozillafirebird/Makefile=09Thu Apr  7 18:00:52 20=
05
@@ -23,14 +23,14 @@
 BROKEN=3D=09=09Incorrect pkg-plist
 
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 ONLY_FOR_ARCHS=3D=09i386
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 FIREBIRD_NAME=3D=09${PKGNAMEPREFIX}${PORTNAME}
 DESCR=3D=09=09${.CURDIR}/pkg-descr
 MD5_FILE=3D=09${.CURDIR}/distinfo
 PKGMESSAGE=3D=09${WRKDIR}/pkg-message
 PLIST=3D=09=09${WRKDIR}/pkg-plist
-PREFIX?=3D=09${X11BASE}
 WRKSRC=3D=09=09${WRKDIR}/MozillaFirebird
 
 do-patch:
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/linux-opera/Makefile devel_ports/www/linux-opera/Makefile
--- ports/www/linux-opera/Makefile=09Sun Feb 20 23:22:27 2005
+++ devel_ports/www/linux-opera/Makefile=09Fri Apr  8 10:57:08 2005
@@ -25,21 +25,20 @@
 MAINTAINER=3D=09mezz@FreeBSD.org
 COMMENT=3D=09A blazingly fast, full-featured, standards-compliant browser
 
-RUN_DEPENDS=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x1=
1/linux-XFree86-libs \
+RUN_DEPENDS=3D=09\
 =09=09${LINUXBASE}/usr/lib/libaspell.so.15:${PORTSDIR}/textproc/linux-aspe=
ll \
 =09=09${LINUXBASE}/usr/X11R6/lib/libXm.so.3.0.3:${PORTSDIR}/x11-toolkits/l=
inux-openmotif
 
 RESTRICTED=3D=09"not redistributable; commercial software"
 
-PREFIX?=3D=09${X11BASE}
 USE_BZIP2=3D=09yes
 WANT_GNOME=3D=09yes
-WITH_LINUX=3D=09yes
+USE_LINUX=3D=09yes
 USE_REINPLACE=3D=09yes
+USE_X_PREFIX=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3Dyes
 
 OPERA_VER=3D=097.54
 OPERA_DATE=3D=0920050131
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/www/netscape7/Makefile devel_ports/www/netscape7/Makefile
--- ports/www/netscape7/Makefile=09Sat Mar 26 21:09:41 2005
+++ devel_ports/www/netscape7/Makefile=09Thu Apr  7 18:01:21 2005
@@ -28,12 +28,12 @@
 MAJ?=3D=09=09netscape7
 NETSCAPE_LANG?=3Denglish
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 ONLY_FOR_ARCHS=3D=09i386
 RESTRICTED=3D=09"no redistribution"
 NO_CDROM=3D=09${RESTRICTED}
-PREFIX?=3D=09${X11BASE}
 USE_ZIP=3D=09yes
+USE_LINUX=3D=09yes
+USE_X_PREFIX=3D=09yes
 VER?=3D=09=09${PORTVERSION}
 WRKSRC=3D=09${WRKDIR}/netscape-installer/xpi
 INSTALL_DIR=3D=09lib/linux-${MAJ}-${NETSCAPE_LANG}
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/x11/linux-XFree86-libs/Makefile devel_ports/x11/linux-XFree86-=
libs/Makefile
--- ports/x11/linux-XFree86-libs/Makefile=09Tue Mar  1 22:51:48 2005
+++ devel_ports/x11/linux-XFree86-libs/Makefile=09Thu Apr  7 18:02:45 2005
@@ -27,9 +27,9 @@
 
 CONFLICTS=3D=09linux_base-6* linux_base-7* linux_base-deb*
 USE_LINUX_PREFIX=3Dyes
+USE_LINUX=3D=09yes
 MD5_FILE=3D=09${MASTERDIR}/distinfo.i386
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 ONLY_FOR_ARCHS=3D=09amd64 i386
 PKGINSTALL=3D=09${WRKDIR}/pkg-install
 PLIST=3D=09=09${WRKDIR}/plist
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/x11/nvidia-driver/Makefile devel_ports/x11/nvidia-driver/Makef=
ile
--- ports/x11/nvidia-driver/Makefile=09Tue Mar  1 22:51:48 2005
+++ devel_ports/x11/nvidia-driver/Makefile=09Thu Apr  7 16:14:24 2005
@@ -41,7 +41,7 @@
 =09=09LINUXBASE=3D${LINUXBASE} NVVERSION=3D${NVVERSION}
 
 .if !defined(WITHOUT_LINUX)
-USE_LINUX?=3D=09yes
+USE_LINUX=3D=09yes
 RUN_DEPENDS+=3D=09${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x=
11/linux-XFree86-libs
 PLIST_SUB+=3D=09LINUX=3D""
 .else
diff -ruHdN --exclude INDEX* --exclude CVS --exclude packages --exclude dis=
tfiles ports/x11-toolkits/linux-gtk/Makefile devel_ports/x11-toolkits/linux=
-gtk/Makefile
--- ports/x11-toolkits/linux-gtk/Makefile=09Tue Mar  1 22:51:48 2005
+++ devel_ports/x11-toolkits/linux-gtk/Makefile=09Thu Apr  7 18:03:23 2005
@@ -23,6 +23,7 @@
 
 ONLY_FOR_ARCHS?=3D=09i386 alpha amd64
 
+USE_LINUX=3D=09=09yes
 USE_LINUX_PREFIX=3D=09yes
 
 .include <bsd.port.pre.mk>
@@ -34,7 +35,6 @@
 DIST_SUBDIR?=3D=09rpm
 EXTRACT_ONLY=3D
 NO_BUILD=3D=09yes
-NO_FILTER_SHLIBS=3D=09yes
 PLIST?=3D=09=09${PKGDIR}/pkg-plist.${ARCH}
 MD5_FILE?=3D=09${MASTERDIR}/distinfo.${ARCH}
 

--=_6apxqruzpe4o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050411175736.mabpo9me4g4cwc4g>