diff options
author | ahoka <ahoka> | 2009-01-17 19:00:14 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2009-01-17 19:00:14 +0000 |
commit | 7a32ae77e1db5c1ddf31705a396de90242de2c07 (patch) | |
tree | ad7a715a9826f338482c6105b9023f2ca1b9879a /x11 | |
parent | 867109508822f9ce87f47943a1ed1edad38dce18 (diff) | |
download | pkgsrc-7a32ae77e1db5c1ddf31705a396de90242de2c07.tar.gz |
Fix linking problems which caused missing rpath with native X11.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/docker/Makefile | 8 | ||||
-rw-r--r-- | x11/docker/distinfo | 4 | ||||
-rw-r--r-- | x11/docker/patches/patch-aa | 20 |
3 files changed, 23 insertions, 9 deletions
diff --git a/x11/docker/Makefile b/x11/docker/Makefile index 85f851d2978..c73a6998523 100644 --- a/x11/docker/Makefile +++ b/x11/docker/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $ +# $NetBSD: Makefile,v 1.2 2009/01/17 19:00:14 ahoka Exp $ # DISTNAME= docker-1.5 +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://offload1.icculus.org/openbox/2/docker/ @@ -13,8 +14,9 @@ COMMENT= WindowMaker dock app which acts as a system tray USE_TOOLS+= pkg-config gmake -MAKE_ENV+= PREFIX=${DESTDIR}${PREFIX} -MAKE_ENV+= XLIBPATH=${X11BASE} +MAKE_ENV+= PREFIX=${${DESTDIR}${PREFIX}:Q} +MAKE_ENV+= LDFLAGS=${LDFLAGS:Q} +MAKE_ENV+= CFLAGS=${CFLAGS:Q} INSTALLATION_DIRS+= bin diff --git a/x11/docker/distinfo b/x11/docker/distinfo index d35ab91f6b6..fb45c4d6d6d 100644 --- a/x11/docker/distinfo +++ b/x11/docker/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $ +$NetBSD: distinfo,v 1.2 2009/01/17 19:00:14 ahoka Exp $ SHA1 (docker-1.5.tar.gz) = aff3e0c6103a7b1f190d4207868ae7c28d267304 RMD160 (docker-1.5.tar.gz) = d36883acf4de5c2e97d478a7d29cb66645189748 Size (docker-1.5.tar.gz) = 14863 bytes -SHA1 (patch-aa) = be91c68b6b9e16434e11b0567338ee9fa2b040eb +SHA1 (patch-aa) = 7f1a36956fa2302ac22d20ede10a5af5fb9e6cf0 diff --git a/x11/docker/patches/patch-aa b/x11/docker/patches/patch-aa index 3fcce670aa1..f1f224fe01d 100644 --- a/x11/docker/patches/patch-aa +++ b/x11/docker/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $ +$NetBSD: patch-aa,v 1.2 2009/01/17 19:00:14 ahoka Exp $ --- Makefile.orig 2002-11-20 11:20:49.000000000 +0100 +++ Makefile -@@ -5,9 +5,9 @@ +@@ -5,12 +5,9 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Change this PREFIX to where you want docker to be installed @@ -10,7 +10,19 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/08/13 11:42:55 ahoka Exp $ +PREFIX?=/usr/local # Change this XLIBPATH to point to your X11 development package's installation -XLIBPATH=/usr/X11R6/lib +- +-# Sets some flags for stricter compiling +-CFLAGS=-pedantic -Wall -W -O +XLIBPATH?=/usr/X11R6/lib - # Sets some flags for stricter compiling - CFLAGS=-pedantic -Wall -W -O + #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# + # # +@@ -30,7 +27,7 @@ all: $(target) $(sources) $(headers) + @echo Build Successful + + $(target): $(sources:.c=.o) +- $(CC) $(CFLAGS) -L$(XLIBPATH) -lX11 \ ++ $(CC) $(CFLAGS) $(LDFLAGS) -lX11 \ + `pkg-config --libs glib-2.0` $^ -o $@ + + %.o: %.c |