summaryrefslogtreecommitdiff
path: root/regress/buildlink-transform/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-25 22:05:46 +0000
committerjlam <jlam@pkgsrc.org>2004-09-25 22:05:46 +0000
commit9bc3430a460eff4807293e52d1e0d040ad2bc2fa (patch)
tree7b4bfa52229f7ab606b86ca51468059255622f64 /regress/buildlink-transform/Makefile
parentae7a16756f2fc479c3aa2565c33edfe09ebdcdc2 (diff)
downloadpkgsrc-9bc3430a460eff4807293e52d1e0d040ad2bc2fa.tar.gz
Add a test for the "rmdir" transformation.
Diffstat (limited to 'regress/buildlink-transform/Makefile')
-rw-r--r--regress/buildlink-transform/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/buildlink-transform/Makefile b/regress/buildlink-transform/Makefile
index bc55dbbb06a..eb46f964e25 100644
--- a/regress/buildlink-transform/Makefile
+++ b/regress/buildlink-transform/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/08/28 23:54:21 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2004/09/25 22:05:46 jlam Exp $
#
# Run many buildlink transform tests in a single regression test to avoid
# having to keep creating the wrapper scripts over and over again.
@@ -23,6 +23,11 @@ NO_PACKAGE= yes
# Remove GCC optimization options.
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
+# Remove /opt/schily.
+.if ${LOCALBASE} != "/opt/schily"
+BUILDLINK_TRANSFORM+= rmdir:/opt/schily
+.endif
+
# Convert "-lreadline" into "-ledit -ltermcap -lm".
BUILDLINK_TRANSFORM+= l:readline:edit:termcap:m