- add apm support _only_ for archs supporting it ; no need to bump
PKGNAME as for apm capable archs, nothing changes and for the others, it didn't build noticed by sturm@, thanks! ok sturm@
This commit is contained in:
parent
021b3ea7ac
commit
39737f0c6c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2006/11/04 17:59:19 fgsch Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2006/11/10 09:31:28 ajacoutot Exp $
|
||||
|
||||
COMMENT= "small, fast window manager"
|
||||
|
||||
@ -38,6 +38,11 @@ CONFIGURE_ARGS= --with-imlib=${PREFIX}/bin \
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" \
|
||||
|| ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc"
|
||||
PATCH_LIST+= apm-patch-src_aapm_cc apm-patch-src_aapm_h
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@perl -pi -e 's:%%SYSCONFDIR%%:${SYSCONFDIR}:g;' \
|
||||
-e 's:%%PREFIX%%:${TRUEPREFIX}:g;' \
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_aapm_cc,v 1.1 2006/11/04 17:59:19 fgsch Exp $
|
||||
$OpenBSD: apm-patch-src_aapm_cc,v 1.1 2006/11/10 09:31:28 ajacoutot Exp $
|
||||
--- src/aapm.cc.orig Tue Oct 24 12:38:18 2006
|
||||
+++ src/aapm.cc Tue Oct 24 12:39:12 2006
|
||||
@@ -34,7 +34,7 @@
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_aapm_h,v 1.1 2006/11/04 17:59:19 fgsch Exp $
|
||||
$OpenBSD: apm-patch-src_aapm_h,v 1.1 2006/11/10 09:31:28 ajacoutot Exp $
|
||||
--- src/aapm.h.orig Tue Oct 24 12:59:26 2006
|
||||
+++ src/aapm.h Tue Oct 24 12:59:34 2006
|
||||
@@ -1,5 +1,5 @@
|
Loading…
Reference in New Issue
Block a user