pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xworld Fix: x11/xworld sets the owner and group of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f164c7d4d8aa
branches:  trunk
changeset: 467732:f164c7d4d8aa
user:      wennmach <wennmach%pkgsrc.org@localhost>
date:      Thu Feb 05 22:19:45 2004 +0000

description:
Fix: x11/xworld sets the owner and group of the command to "bin".
Patch submitted by Min Sik Kim in PR pkg/24325.

diffstat:

 x11/xworld/Makefile |  31 +++++++++++++++++++------------
 1 files changed, 19 insertions(+), 12 deletions(-)

diffs (42 lines):

diff -r 632b8d7c43aa -r f164c7d4d8aa x11/xworld/Makefile
--- a/x11/xworld/Makefile       Thu Feb 05 22:05:42 2004 +0000
+++ b/x11/xworld/Makefile       Thu Feb 05 22:19:45 2004 +0000
@@ -1,19 +1,26 @@
-# $NetBSD: Makefile,v 1.6 2002/08/25 21:53:04 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/02/05 22:19:45 wennmach Exp $
 #
 
-DISTNAME=      xworld-2.0
-CATEGORIES=    x11
-MASTER_SITES=  ftp://gutemine.geo.uni-koeln.de/pub/xworld/ \
-               ftp://ftp.Uni-Koeln.DE/misc/
+DISTNAME=              xworld-2.0
+PKGREVISION=           1
+CATEGORIES=            x11
+MASTER_SITES=          ftp://gutemine.geo.uni-koeln.de/pub/xworld/ \
+                       ftp://ftp.Uni-Koeln.DE/misc/
+
+MAINTAINER=            wennmach%NetBSD.org@localhost
+COMMENT=               Earth as seen from the direction of the sun
 
-MAINTAINER=    wennmach%geo.Uni-Koeln.DE@localhost
-COMMENT=       Earth as seen from the direction of the sun
+USE_BUILDLINK2=                yes
+HAS_CONFIGURE=         yes
+USE_X11=               yes
 
-USE_BUILDLINK2=        yes
-HAS_CONFIGURE= yes
-USE_X11=       yes
+CONFIGURE_ENV+=                PREFIX="${PREFIX}"
+CONFIGURE_ENV+=                LDLIBS="-lm ${LDFLAGS} -lX11"
 
-CONFIGURE_ENV+=        PREFIX="${PREFIX}"
-CONFIGURE_ENV+=        LDLIBS="-lm ${LDFLAGS} -lX11"
+SUBST_CLASSES+=                install
+SUBST_MESSAGE.install= "Fixing install options."
+SUBST_STAGE.install=   post-patch
+SUBST_FILES.install=   Makefile.in
+SUBST_SED.install=     -e 's,-g bin -o bin,-g ${BINGRP} -o ${BINOWN},g'
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index